Link to home
Start Free TrialLog in
Avatar of casemanager
casemanager

asked on

How do I check the downtime of a process in sun solaris?

Greetings experts,

I have a sun solaris server (version 9) and I want to check the downtime of a process. For example if my oracle process (pmon) goes down during the night , I can come in the next morning and check the time duration during which the process was down.

Please help.

Thanks and regards,
casemanager
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Hi,

You may look in to the Oracle logs to see when the process stopped (last log).

You may also look in to the system logs like

/var/log/syslog
/var/adm/messages

Avatar of casemanager
casemanager

ASKER

Thanks for replying Omar. I got the information I was looking for in the logs generated in /var/adm/messages. Is there any way in which I can automate this process and get to know this information without checking the logs. What I am trying to say is -Oracle process goes down every night for about 3 hours. Is there any way in which the server can send me a report via email with the information as  to when the process was unavaliable and the time when it was back up.

I am thinking that this requires modification of the syslog parameters --all I want to know is how to do it??

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks...I tried the solution and is seems to fulfill the purpose for now..
Thanks Omarfarid for the excellent answer