AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  abnormally shutdown

    Posted Mon January 07, 2008 01:49 AM

    Originally posted by: Landao


    If I have an AIX machine that shutdown abnormally due to power failure, how do I know when (the exact date and time) does it happen (after rebooting the server)?

    Best regards

    Orkhan
    #AIX-Forum


  • 2.  Re: abnormally shutdown

    Posted Mon January 07, 2008 05:49 AM

    Originally posted by: SystemAdmin


    You can use below commands

    1. last root console
    2. last | grep shutdown

    Check out the options for these commands for exact match using man pages.

    Regards,
    Shreyas
    #AIX-Forum


  • 3.  Re: abnormally shutdown

    Posted Mon January 07, 2008 06:38 AM

    Originally posted by: Landao


    I knew about 'last' command.
    When I use
    last shutdown, it show me only normal shutdown data-time (that is 04 December 2007 ) but I want to look out when my machine was turn off due to power failure in this year.

    Best regards
    Orkhan
    #AIX-Forum


  • 4.  Re: abnormally shutdown

    Posted Mon January 07, 2008 09:35 AM

    Originally posted by: hwyguy


    You might have something in the error report 'errpt', as some machines will log a power issue prior to shutdown, especially if they have a backup battery (690, 590, 595, etc).

    Most of the time, however - if the plug is pulled you won't get anything about the shutdown - since it's not an actual shutdown sequence initiation , rather you'd just get info about a startup.

    HTH
    #AIX-Forum


  • 5.  Re: abnormally shutdown

    Posted Mon January 07, 2008 12:08 PM

    Originally posted by: hdkutz


    I would consider to take a look at your syslog.
    My syslog file contains entrys like
    <snip>
    ...
    Jan 1 01:15:24 mymachine syslog: /usr/sbin/ifconfig -a
    Jan 1 01:20:24 mymachine syslog: /usr/sbin/ifconfig -a
    ...
    <snip>
    and so on. So if you like to know when your machine crashed, look at
    those entries where the time differs longer than 5 min.
    This is on AIX 5.2.

    HTH,
    ku
    #AIX-Forum


  • 6.  Re: abnormally shutdown

    Posted Wed March 05, 2008 01:28 PM

    Originally posted by: SystemAdmin


    You'll have an entry in your errorlog that says "System abnormally
    halted", with a timestamp.
    #AIX-Forum