On Fri, Sep 25, 2009 at 8:43 PM, Mubeen Nakade <[email protected]> wrote:
>
>
>
> On Fri, Sep 25, 2009 at 5:36 PM, Agnello George 
> <[email protected]>wrote:
>
> >
> >
> > Hi
> > we use cent OS 5.2 on all our production server, just today one of or
> > mail server had a reboot and we don't understand why ... usually we get a
> > alert if a system was loaded up ... but this system just reboot .... may be
> > it could be a power failure ...( is there any way to check this ) .. but
> > that is the last option i am guess as the server is in IDC . With
> > dmidecode and biosdecode .. i just get server / bios info . In the Messages
> > and Dmesgs ... i cant really pin pont the issue . Is there any thing am
> > not doing or any thing i am supposed to figure out the reason for this
> > reboot.
> >
> > --
> > Regards
> > Agnello D'souza
> >
> > ----------------------------------------------------------
> >
>
> *Hi,
>
> System reboot can be checked by last command, below is sample output. If
> system is rebooted you will find below output
>
> [mub...@db_live ~]$last | grep reboot
> reboot system boot 2.6.18-128.el5 Fri Sep 18 07:35 (7+12:59)
> reboot system boot 2.6.18-128.el5 Fri Sep 18 07:00 (00:28)
>
> or..or..or you can simplicy check with uptime:
>
> *
> *[mub...@db_live ~]$uptime
> 20:37:55 up 7 days, 21:03, 1 user, load average: 0.20, 0.33, 0.25*
>
> *-Mubeen*
>

Yes i kind of figured that out .. thanks :-)
 ... but i was more in search for a tool where i could do event logging!!!



--
Regards
Agnello D'souza

Reply via email to