1833875 Members
1883 Online
110063 Solutions
New Discussion

system reboot

 
Jairo Campana
Trusted Contributor

system reboot

Hello , in last register:
reboot system boot Wed Mar 9 17:17 still logged in

as I detect if a user made reboot
sulog no exist data
legionx
7 REPLIES 7
RAC_1
Honored Contributor

Re: system reboot

What does /etc/shutdownlog says??
There is no substitute to HARDWORK
TwoProc
Honored Contributor

Re: system reboot

What does /etc/shutdownlog say?
We are the people our parents warned us about --Jimmy Buffett
TwoProc
Honored Contributor

Re: system reboot

Jinx
We are the people our parents warned us about --Jimmy Buffett
Jairo Campana
Trusted Contributor

Re: system reboot

the stranger is that:

reboot system boot Wed Mar 9 17:17 still logged in

my shutdownlog:
last line:
16:29 Fri Jun 18, 2004. Reboot:
17:56 Mon Feb 14, 2005. Reboot:
#

and not display username
legionx
Robert-Jan Goossens
Honored Contributor

Re: system reboot

Hi Jairo,

Could you check which one is correct?

# who -b
# uptime

What OS are you running 11.0/11i ?

Robert-Jan
TwoProc
Honored Contributor

Re: system reboot

As far as the shutdownlog goes, I think that the following:
16:29 Fri Jun 18, 2004. Reboot:
17:56 Mon Feb 14, 2005. Reboot:
This probably comes from using the "reboot" command instead of the "shutdown" command.
We are the people our parents warned us about --Jimmy Buffett
Noel Miranda
Frequent Advisor

Re: system reboot

reboot system boot Wed Mar 9 17:17 still logged in

The pseudo-user reboot logs each time the system reboots. Thus, last reboot is a useful command for evaluating the relative time between system reboots.