UPTIME(1N) COMMAND REFERENCE UPTIME(1N)
NAME
uptime - show status of hosts on network
SYNOPSIS
uptime [ -l ][ -t ][ -u ][ -U ][ -r ][ -w seconds ][
hostname ]...
DESCRIPTION
Uptime with no arguments, prints statistics about the local
host. The statistics include the current time, the length
of time the system has been up, how many users are currently
logged on, and the average number of jobs in the run queue
over the last one, five, and fifteen minute time periods.
Uptime can also be used to obtain similar statistics from
other hosts on the network. If any of the options are
specified but no hostname is given, uptime will broadcast
for uptime statistics on the local area network. Normally
uptime will listen for responses for 10 seconds and then
display them. If desired, the timeout period can be
lengthened or decreased through the -w [seconds] option.
Hosts which at one time responded to an uptime request, but
did not respond to the most recent request, will be marked
as "down". A host that is down for more than 5 days will be
deleted from the uptime data base (in /usr/spool/uptime ).
If one or more hostnames is specified on the uptime command
line, uptime will interogate only those hosts for the
statistics. Also, by specifying a hostname, it is possible
to get uptime statisitics from hosts on other connected
networks and not just the local network.
OPTIONS
-l Sort status lines by load average.
-r Generate status lines for remote systems current to the
minute.
-t Sort status lines by uptime.
-u Sort status lines by number of users.
-w [seconds] When broadcasting for uptime statistics (i.e.
when no hostname is specified), the -w [seconds] option
determines how long uptime waits collecting responses.
-U Generate a list of host systems that are up, one name
to a line. This is useful for shell programs.
FILES
/usr/spool/uptime/up.* Data files.
Printed 8/30/86 1
UPTIME(1N) COMMAND REFERENCE UPTIME(1N)
RETURN VALUE
[USAGE] Incorrect command line syntax. Execution
terminated.
[NP_WARN] An error warranting a warning message
occurred. Execution continues.
[NP_ERR] An error occurred that was not a system
error. Execution terminated.
[P_WARN] A system error occurred. Execution continues.
See intro(2) for more information on system
errors.
[P_ERR] A system error occurred. Execution
terminated. See intro(2) for more
information on system errors.
[INTERNAL] An unexpected error occurred. Execution was
terminated. Record the message and save the
core file for analysis. Contact service
personnel at your Tektronix field office.
CAVEATS
Uptime is incompatible with the standard Berkeley 4.2
offering, ruptime.
SEE ALSO
w(1), ruptime(1n), udpd(8n).
Printed 8/30/86 2
%%index%%
na:72,76;
sy:148,273;
de:421,1589;
op:2010,738;
fi:2748,112;
rv:3004,992;
ca:3996,212;
se:4208,142;
%%index%%000000000133