ruptime - show host status of local machines
ruptime [ -a ] [ -r ] [ -l ] [ -t ] [ -u ]
Ruptime gives a status line like uptime for each machine on the local network; these are formed from packets broadcast by each host on the
network once a minute.
Machines for which no status report has been received for 11 minutes are shown as being down.
Users idle an hour or more are not counted unless the -a flag is given.
Normally, the listing is sorted by host name. The -l , -t , and -u flags specify sorting by load average, uptime, and number of users,
respectively. The -r flag reverses the sort order.
/usr/spool/rwho/whod.* data files
SEE ALSO rwho(1C)4.2 Berkeley Distribution April 29, 1985 RUPTIME(1C)
Check Out this Related Man Page
RUPTIME(1) BSD General Commands Manual RUPTIME(1)NAME
ruptime -- show host status of local machines
ruptime [-alrtu] [host ...]
The ruptime utility gives a status line like uptime(1) for each machine on the local network; these are formed from packets broadcast by each
host on the network once every three minutes.
If no operands are given, ruptime displays uptime status for all machines; otherwise only those hosts specified on the command line are dis-
played. If hosts are specified on the command line, the sort order is equivalent to the order hosts were specified on the command line.
Machines for which no status report has been received for 11 minutes are shown as being down, and machines for which no status report has
been received for 4 days are not shown in the list at all.
The options are as follows:
-a Include all users. By default, if a user has not typed to the system for an hour or more, then the user will be omitted from the
-l Sort by load average.
-r Reverse the sort order.
-t Sort by uptime.
-u Sort by number of users.
The default listing is sorted by host name.
/var/rwho/whod.* data files
SEE ALSO rwho(1), uptime(1), rwhod(8)HISTORY
A ruptime utility appeared in 4.2BSD.
BSD March 1, 2003 BSD
I'm trying to write a shell script that will ping a site and and write the date and 1 or 0 (for success or no success) to a file.
it looks roughly like this:
set mydate = `date`
set myvar = `ping -c 1 hostname | grep -c "100%"`
if ($myvar == 1) then
echo... (1 Reply)
I'd like to use sed or awk to do this but I'm weak on both along with RE. Looking for a way with sed or awk to count for the 7th table data within a table row and if the condition is met to delete "<td>and everything in between </td>". Since the table header start on a specific line each time, that... (15 Replies)
I cannt use 'su' to login to root or any other users though everything seems ok. I read some articles that says if you do recursive chmod 777 on /usr it can create this problem.
I did the same. can anybody tell me how to repair it. Any ideas will be appreciated.
thnks (7 Replies)
I use Solaris 10,and I use getaddrinfo in my code,like follows:
struct addrinfo *ailist,hint;
err_quit("usage: ruptime hostname");
hint.ai_canonname=NULL;... (1 Reply)
I heard about some global commands for information gathering in UNIX systems. some commands which will execute on a UNIX system in a local network and other systems will reply to these command with some information about themselves.
for example, from one of those UNIX machines (in a... (15 Replies)
Am writing a script where I want to find uptime of certain servers. Is there any command where we can find uptime without login to the server, since the server list is big logging to the server will time consuming.
Thanks in advance (7 Replies)