Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

reboot time

Status
Not open for further replies.

aarce

Technical User
Joined
Jan 2, 2006
Messages
2
Location
CH
Can any one help me to find out the reboot ( last reboot time ) of my server.

I normally used to do "who -b" , or with last |grep reboot.

but who -b is not giving me an output . Also the who command

gives wrong information related to the UP tIME

02:59PM up 13151 days, 6:59, 12 users, load average: 0.69, 0.30, 0.13
 
Hello aarce.

Perhaps you can try the following:

errpt | more

When you find the message

9DBCFDEE 1230100905 T O errdemon ERROR LOGGING TURNED ON

you know, that error logging was started. As far as I know this one is started normally only at reboot-time.

Now you can check the timestamp 1230100905: 30th of december, 10:09 in the year 2005.

Regards
Ruediger
 
Hello again!

Of course the start of the init-process is another hint:

AIX001:/#ps -ef | grep init
root 1 0 0 Dec 30 - 0:29 /etc/init


This one is runnning since 30th of december -> the machine was rebooted this day.

Regards
Ruediger
 
You could also look at last

last|grep reboot



Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
Hi ,thanks a lot for all the answers . All of the below

will show me the reboot time , that is correct. But my query is to know why the "who" or "w" shows the incorrect time .

And Why the "who -b" not showing any output


thanks
RC
 
this may apply to you too.

thread52-1172270

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top