Operating System - Linux
1829102 Members
2361 Online
109986 Solutions
New Discussion

the time of the server hang

 
SOLVED
Go to solution
peterchu
Super Advisor

the time of the server hang

My RH server is hang this morning , I am not sure what time is server is hang ( may be last night or this morning ), how can I know the exectly time is server is hang ? thx
2 REPLIES 2
Florian Heigl (new acc)
Honored Contributor
Solution

Re: the time of the server hang

usually linux logs a timestamp to the syslog. the line looks like
hostname 20050331 14:50 ----- mark -----

see if this is there, otherwise just look for the last entry in all log files, the last dates of file generation in /tmp and for the future, check if Your system has a watchdog timer that linux supports. (automatic reset on system hang...)
yesterday I stood at the edge. Today I'm one step ahead.
NiCK_76
Respected Contributor

Re: the time of the server hang

Hi peterchu,

Check /var/log/messages. It have timestamp , user and did something. You should find the last entry's timestamp before entries of restart information.

NiCK
just for fun