LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-06-2010, 09:26 PM   #1
Lyle
Member
 
Registered: May 2010
Location: Guyana, South America
Distribution: Debian, Sabayon
Posts: 37

Rep: Reputation: 15
'last' command doesn't show last shutdown


I shutdown around 4 - 5 hours ago which would be around 14:00 to 15:00 time range. But as you can see there's no entry for it. Why? and how can i find when i last shutdown?

Code:
last
lyle   pts/1        :0.0             Tue Jul  6 19:18   still logged in   
lyle   :0                            Tue Jul  6 19:15   still logged in   
lyle   tty7         :0               Tue Jul  6 19:15   still logged in   
root     pts/1        :0.0             Tue Jul  6 19:11 - 19:14  (00:03)    
root     :0           console          Tue Jul  6 19:10 - 19:15  (00:04)    
root     :0                            Tue Jul  6 19:10 - 19:10  (00:00)    
root     tty7         :0               Tue Jul  6 19:10 - 19:15  (00:04)    
reboot   system boot  2.6.27.45-0.1-de Tue Jul  6 19:09          (00:08)    
lyle   pts/1        :0.0             Tue Jul  6 07:59 - 08:01  (00:02)    
lyle   pts/1        :0.0             Mon Jul  5 22:31 - 06:44  (08:12)
 
Old 07-06-2010, 11:57 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Is your system set to the right time zone?

And one reason why events may not be written to wtmp is
that the partition is full ... what's your free disk
space? Both are of course stabs in the dark :}


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
'shutdown' command causing unclean shutdown silentwol Linux - Software 3 07-01-2009 02:01 AM
Command to show if OS is 32bit or 64bit?? itsjustme Ubuntu 7 09-30-2008 03:16 PM
Why does mysqld not show up w/ps command baandar Linux - Software 3 09-01-2004 02:21 AM
Command 2 Show sys Spec Thom_Redhat Linux - General 1 11-11-2003 12:32 PM
Command to show connected devices? nutshell Linux - General 5 03-14-2002 07:04 PM


All times are GMT -5. The time now is 09:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration