[CLUE-Tech] Quick reboot question

Kevin Cullis kevincu at orci.com
Sat Jan 13 21:45:11 MST 2001


"Jeffery C. Cann" wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Kevin,
> 
> It is possible to determine the number of reboots that your system has
> undergone:
> 
> $ last reboot | wc -l
> 
> Did you look at the output of the 'last reboot' command?  It is by date, so
> you would be able to determine the number of reboots in the past few days.
> 
> the 'last' utility is a standard binutils utility.  This means that all Linux
> distributions (except specialized ones) have the 'last' program.
> 
> Try 'man last' for more info.
> 
> Later
> Jeff

Jeff and Brandon,

This is what I got when I typed last reboot

kevin at cullis:~ > last reboot
reboot   system boot  2.2.16           Mon Jan  8 00:01        
(5+21:35)   
reboot   system boot  2.2.16           Sun Jan  7 23:47         
(00:12)    
reboot   system boot  2.2.16           Sun Jan  7 23:44         
(00:02)    
reboot   system boot  2.2.16           Sun Jan  7 23:40         
(00:06)    
reboot   system boot  2.2.16           Sun Jan  7 23:14         
(00:24)    
reboot   system boot  2.2.16           Sun Jan  7 23:06         
(00:06)    
reboot   system boot  2.2.16           Sun Jan  7 22:08         
(00:57)    
reboot   system boot  2.2.16           Thu Dec 28 05:56        
(10+16:10)  
reboot   system boot  2.2.16           Sun Dec 10 22:51        
(27+23:15)  
reboot   system boot  2.2.16           Fri Dec  8 22:47         
(00:02)    
reboot   system boot  2.2.16           Tue Dec  5 20:24        
(5+02:20)   
reboot   system boot  2.2.16           Sat Nov 25 19:00        
(10+01:19)  
reboot   system boot  2.2.16           Thu Nov 16 23:33        
(4+10:04)   
reboot   system boot  2.2.16           Thu Nov 16 23:27         
(00:05)    
reboot   system boot  2.2.16           Fri Nov 10 15:43        
(6+07:42)   
reboot   system boot  2.2.16           Sat Nov  4 05:32        
(6+10:09)   

wtmp begins Sat Nov  4 05:32:49 2000

Wow, another neat tool.

I typed what you said Jeff, and this is what I got:

kevin at cullis:~ > last reboot | wc -l
     18

My question: what file and I looking at when I type the last reboot
command? Or, basically, where am I getting this info?

Man, is this something really new and I like it.

Kevin



More information about the clue-tech mailing list