1824218 Members
4150 Online
109669 Solutions
New Discussion

last reboot

 
gogleboy
Occasional Advisor

last reboot

Team,

I executed a command called “last reboot” but I did not receive any output so could you tell me what would be case

Thanks
Nanda
10 REPLIES 10
Johnson Punniyalingam
Honored Contributor

Re: last reboot

Hi Gogleboy,

# last |grep reboot --> should be reciving some output

you command is wrong,

Thanks
JOhnson
Problems are common to all, but attitude makes the difference
Prasu
Frequent Advisor

Re: last reboot

check

/etc/shutdown.log


Regards
Prasu
likid0
Honored Contributor

Re: last reboot

Hy,

You can allways have a look at the /etc/shutdownlog

Windows?, no thanks
V. Nyga
Honored Contributor

Re: last reboot

Sorry - shall we use our crystal ball to see your system?
I've lent mine to my daughter ;-)
Please give us more informations about your system!
Are you root?
Any output if you use 'last root'?

Welcome here at this great forum, but PLEASE always give as much informations as possible!

Volkmar
*** Say 'Thanks' with Kudos ***
VK2COT
Honored Contributor

Re: last reboot

Hello,

Other already gave you some good pointers.

Let's summarise a bit more. Any of these could help:

# last | egrep -i "boot|crash|panic"

# cat /etc/shutdown.log

# who -b

# ps -ef | grep init

# uptime

and so on.

Do not forget to reward the people who try
to help you in these Forums.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
SKR_1
Trusted Contributor

Re: last reboot

Please check /etc/wtmp and /etc/btmp log files?

May be these are cleared/empty.

Thanks

SKR
SKR_1
Trusted Contributor

Re: last reboot

# last -R | grep -i reboot | more

Check the below link.

http://www.informatik.uni-frankfurt.de/doc/man/hpux/last.1m.html

Thanks

SKR
Prashanth Waugh
Esteemed Contributor

Re: last reboot

Hi,

U can check using who -r

Regards
Prashant
For success, attitude is equally as important as ability
gogleboy
Occasional Advisor

Re: last reboot

Thanks team, i got the answer
VK2COT
Honored Contributor

Re: last reboot

Hello,

It is nice that the responses from kind
people gave you a suitable answer.

It is also a courtesy to assign points
to them. The HP Forums rely on them.

Please, take a minute or two to go back to
all your previous enquiries and
assign points.

At the current time, your profile reveals
the following:

I have assigned points to 0 of 30 responses
to my questions"

We are all recipients of some services
and providers of others. No-one of us
are fully independent or "above the others".

Cheers,

VK2COT
VK2COT - Dusan Baljevic