Having recently started a new job, a Data Center Migration in fact I have been tasked with looking at some of the older Solaris boxes when I came across this little gem.
The uptime is just a few days off 8 years (24th December will do it!), good old solaris.
Regards Gull04
These 3 Users Gave Thanks to gull04 For This Post:
I'm trying to get the uptime of my computer (Mac OS X) and I can go into the terminal and type "uptime" OK, and that gives me a string with the uptime in it. The problem is that the string changes a lot, and its very difficult to get the data I'm trying to extract out cleanly.
Now I have 3... (2 Replies)
On HP-UX, the 13th argument of uptime is sometime the load and sometime the word AVERAGE:???
14 Jun 06 5:00pm up 44 days, 54 mins, 0 users, load average: 0.00, 0.02, 0.03
14 Jun 06 5:15pm up 44 days, 1:09, 0 users, load average: 0.00, 0.01, 0.01
When the time is in minutes, then the load... (1 Reply)
hello folks!
how can I display just the uptime without the current time, the word "up", and the load averages using the uptime command or some other command I do not know about? (13 Replies)
HI All,
I have problem with "uptime" on one of the sun server.(SunOS 5.9 Generic_118558-11 sun4u sparc SUNW,Sun-Fire-V240).when i am issuing uptime command its not showing uptime.even its not showing output for who -b.
$ uptime
11:01am 1 user, load average: 0.06, 0.04, 0.03
$ who -b
$... (3 Replies)
Hi,
I need some help about a script i need to write.
I want to check , if some specific process, are running since 2 hours.
I tried to use a loop , grep my pid and use find -ctime on /proc directory, to list what i need.
for i in `ps -ef |grep process |grep -v grep|awk '{print $2}'`... (2 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)
Discussion started by: Dirk Einecke
6 Replies
LEARN ABOUT FREEBSD
ruptime
RUPTIME(1) BSD General Commands Manual RUPTIME(1)NAME
ruptime -- show host status of local machines
SYNOPSIS
ruptime [-alrtu] [host ...]
DESCRIPTION
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
output.
-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.
FILES
/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