for system downtime information

2007-12-25 11:48:00

Thank you all very much. It was great that I got around 50 responses

within 15 hours of posting the question.

To get the uptime information, most of them told the following:

1. last reboot (Gives all the times when reboot had happened. This

information is recorded in wtmpx file)

2. uptime (This command gives the total uptime until now since last

system reboot)

3. who -b and who -r (These commands also do the same as last reboot

command in a different format)

Here are some unique ones:

4. Look at /var/adm/messages. Also the messages file is copied to

messages.0. messages.0, messages.2 and messages.3 by the script

/usr/lib/newsyslog script which is scheduled in the root crontab.

(Todd Herr gave this info)

5. psrinfo -v (shows the processor's uptime since last reboot)

(Ganeshan gave this info)

6. There is a public domain software called as freeks which may do the

job.

(Sanjiv K. Bhatia gave this info and I am yet to see what this one can

do)

        Thanks you all once again for such responses.

        I appreciate all those replied.

                            Regards, Chakru

Comments

Got something to say?

You must be logged in to post a comment.