RUPTIME(1) BSD General Commands Manual RUPTIME(1)NAME
ruptime -- show host status of local machines
SYNOPSIS
ruptime [-alrtu]
DESCRIPTION
ruptime 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 via the rwhod(8) daemon. The default broadcast time by the hosts is every three minutes.
Machines for which no status report has been received for 11 minutes are shown as being down.
The options are as follows:
-a Users idle an hour or more are not counted unless the -a flag is given.
-l Sort by load average.
-r Reverses the sort order.
-t Sort by uptime.
-u Sort by number of users.
The default listing is sorted by host name.
FILES
/var/rwho/whod.* data files
SEE ALSO rup(1), rwho(1), uptime(1), rwhod(8)HISTORY
ruptime appeared in 4.2BSD.
BSD August 9, 2005 BSD
Check Out this Related Man Page
ruptime(1) User Commands ruptime(1)NAME
ruptime - show host status of local machines
SYNOPSIS
ruptime [-ar] [-l | -t | -u]
DESCRIPTION
The ruptime utility gives a status line like uptime (see uptime(1)) for each machine on the local network; these are formed from packets
broadcast by each host on the network approximately every three minutes.
Machines for which no status report has been received for 11 minutes are shown as being down.
Normally, the listing is sorted by host name, but this order can be changed by specifying one of the options listed below.
OPTIONS
The following options are supported:
-a Counts even those users who have been idle for an hour or more.
-r Reverses the sorting order.
-l | -t | -u These options are mutually exclusive. The use of one overrides the previous one(s).
-l Sorts the display by load average.
-t Sorts the display by up time.
-u Sorts the display by number of users.
FILES
/var/spool/rwho/whod.* data files
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWrcmdc |
+-----------------------------+-----------------------------+
SEE ALSO uptime(1), rwho(1), in.rwhod(1M), attributes(5)SunOS 5.10 6 Nov 2000 ruptime(1)
i'm trying to write a script that will check my os x box for uptime and autorestart gracefully if the uptime is greater than a certain number of days.
thus far i have this:
if uptime | cut -d ',' -f 1 | cut -d ' ' -f 4 -gt 10 ; then
echo "yes"
fi
this doesn't work and i've tried... (11 Replies)
Hello all,
I have search the forum and could not find an answer...Here is what I am trying to do. Every 15 minutes, a script send uptime output to a logfile (dailylog.log), that file contains lines like the one below:
11:21am up 44 days, 19:15, 1 user, load average: 0.00, 0.02, 0.03
... (7 Replies)
Hi gurus,
Is it possible to get the time on when the server was re-started or does the output from who -b is the answer to my question? UNIX flavour is Solaris.
The uptime command gives information on how long the server has been up but I want to know when the server was started. The output... (4 Replies)
Hi,
I am getting a high load average, around 7, once an hour. It last for about 4 minutes and makes things fairly unusable for this time.
How do I find out what is using this. Looking at top the only thing running at the time is md5sum.
I have looked at the crontab and there is nothing... (10 Replies)
Hi!
I want to extract the uptime from the output of the uptime command.
The output:
11:53 up 3:02, 2 users, load averages: 0,32 0,34 0,43
I just need the "3:02" part. How can I do this?
Dirk (6 Replies)
I need to get, in my application, in different methods, the uptime of the system in milliseconds.
time() - returns only seconds.
/proc/uptime - returns the seconds + a truncated milliseconds value, but it need to be parsed to extract data and convert it to milliseconds
Any other suggestions ? (6 Replies)
Hi,
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)
I have a lot of data that need to be sorted alphanumerically. I began using sort -du and it solved almost all my problems. However, when I encountered files with data like this it began to fail:
/vol/close_eng_ice_0888
/vol/open_eng_ice_0890
/vol/open_eng_ice_08923
/vol/open_eng_ice_0893... (6 Replies)
I need to sort a file based on the position , can anyone help me
Sort condition should include position 4-13
Input
XYZ25494331603V ABaker Haley
XYZ25494331600V ABaker Johnie
XYZ25494331601V ABaker Susan
XYZ25494331601D ABaker Susan
XYZ25494331600D ABaker Johnie
XYZ25494331603D... (7 Replies)
Here is my task :
I need to sort two input files and remove duplicates in the output files :
Sort by 13 characters from 97 Ascending
Sort by 1 characters from 96 Ascending
If duplicates are found retain the first value in the file
the input files are variable length, convert... (4 Replies)
Hi Folks,
I have been checking on a redhat server for patching, when I tried the output for uptime and who -b both are not matching. I do not know the reason what happened and why it seems like this.
Please assist someone and explain in detail.
I would appreciate if I get the right... (5 Replies)
as friends can only Sort this file with awk from low to high from position 3 to 9 bone this:
0003344
A70003344prueba1
A70003347prueba1
A70003345prueba1
A70003349prueba1
A70003343prueba1
A70003342prueba1 (4 Replies)
I have /tmp dir with filename as:
010020001_S-FOR-Sort-SYEXC_20160229_2212101.marker
010020001_S-FOR-Sort-SYEXC_20160229_2212102.marker
010020001-S-XOR-Sort-SYEXC_20160229_2212104.marker
010020001-S-XOR-Sort-SYEXC_20160229_2212105.marker
010020001_S-ZOR-Sort-SYEXC_20160229_2212106.marker... (4 Replies)