Ada sebuah file yang bernama / var / log / wtmp. Pseudo pengguna log reboot dalam setiap kali sistem reboot. Jadi reboot terakhir akan menampilkan log semua reboot sejak file log dibuat.

contoh perintah :

# last reboot

bash-4.3# last reboot
reboot   system boot  4.4.118          Thu Mar 22 07:20 - 10:00  (02:40)    
reboot   system boot  4.4.118          Wed Mar 21 07:24 - 16:14  (08:49)    
reboot   system boot  4.4.118          Tue Mar 20 07:32 - 13:57  (06:25)    
reboot   system boot  4.4.118          Mon Mar 19 07:26 - 13:57 (1+06:31)   
reboot   system boot  4.4.118          Fri Mar 16 17:58 - 13:57 (3+19:59)   
reboot   system boot  4.4.118          Fri Mar 16 07:26 - 11:15  (03:48)    
reboot   system boot  4.4.118          Thu Mar 15 20:22 - 21:55  (01:33)    
reboot   system boot  4.4.118          Thu Mar 15 07:34 - 15:53  (08:19)    
reboot   system boot  4.4.118          Thu Mar 15 07:31 - 07:33  (00:02)    
reboot   system boot  4.4.118          Wed Mar 14 13:33 - 16:24  (02:50)    
reboot   system boot  4.4.118          Wed Mar 14 13:31 - 13:32  (00:01)    
reboot   system boot  4.4.118          Sat Mar 10 11:37 - 11:41  (00:03)    
reboot   system boot  4.4.118          Sat Mar 10 07:34 - 11:41  (04:06)    
reboot   system boot  4.4.118          Fri Mar  9 16:09 - 16:40  (00:31)    
reboot   system boot  4.4.118          Thu Mar  8 21:12 - 21:47  (00:34)    
reboot   system boot  4.4.118          Thu Mar  8 08:47 - 14:06  (05:18)    
reboot   system boot  4.4.118          Wed Mar  7 07:24 - 15:53  (08:29)    
reboot   system boot  4.4.118          Tue Mar  6 07:27 - 15:52  (08:24)    
reboot   system boot  4.4.118          Mon Mar  5 07:13 - 16:00  (08:46)    
reboot   system boot  4.4.118          Sat Mar  3 14:33 - 17:22  (02:48)    
reboot   system boot  4.4.118          Sat Mar  3 07:06 - 11:50  (04:44)    
reboot   system boot  4.4.118          Fri Mar  2 17:58 - 20:37  (02:38)    
reboot   system boot  4.4.118          Fri Mar  2 07:30 - 14:03  (06:32)    
reboot   system boot  4.4.115          Fri Mar  2 07:13 - 07:27  (00:14)    
reboot   system boot  4.4.115          Thu Mar  1 07:24 - 15:44  (08:20)    
reboot   system boot  4.4.115          Wed Feb 28 08:58 - 15:56  (06:57)    
reboot   system boot  4.4.115          Wed Feb 28 07:16 - 15:56  (08:39)    
reboot   system boot  4.4.115          Tue Feb 27 17:54 - 20:36  (02:42)    
reboot   system boot  4.4.115          Tue Feb 27 07:06 - 14:36  (07:30)    
reboot   system boot  4.4.115          Tue Feb 27 05:49 - 06:45  (00:55)    

wtmp begins Tue Feb 27 05:00:27 2018

# last -x | grep down

bash-4.3# last -x | grep down
shutdown system down  4.4.118          Wed Mar 21 16:14 - 07:20  (15:05)    
mlv      tty1                          Wed Mar 21 07:25 - down   (08:48)    
shutdown system down  4.4.118          Tue Mar 20 13:58 - 07:24  (17:26)    
mlv      tty1                          Tue Mar 20 07:32 - down   (06:25)    
shutdown system down  4.4.118          Fri Mar 16 11:15 - 17:58  (06:42)    
mlv      tty1                          Fri Mar 16 07:27 - down   (03:48)    
shutdown system down  4.4.118          Thu Mar 15 21:56 - 07:26  (09:30)    
mlv      tty1                          Thu Mar 15 20:23 - down   (01:32)    
shutdown system down  4.4.118          Thu Mar 15 15:53 - 20:22  (04:28)    
mlv      tty1                          Thu Mar 15 07:34 - down   (08:18)    
shutdown system down  4.4.118          Thu Mar 15 07:33 - 07:34  (00:00)    
mlv      tty1                          Thu Mar 15 07:31 - down   (00:01)    
shutdown system down  4.4.118          Wed Mar 14 16:25 - 07:31  (15:05)    
mlv      tty1                          Wed Mar 14 13:34 - down   (02:50)    
shutdown system down  4.4.118          Wed Mar 14 13:33 - 13:33  (00:00)    
mlv      tty1                          Wed Mar 14 13:31 - down   (00:01)    
shutdown system down  4.4.118          Sat Mar 10 11:41 - 13:31 (4+01:49)   
shutdown system down  4.4.118          Fri Mar  9 16:40 - 07:34  (14:54)    
mlv      tty1                          Fri Mar  9 16:10 - down   (00:29)    
shutdown system down  4.4.118          Thu Mar  8 21:47 - 16:09  (18:21)    
mlv      tty1                          Thu Mar  8 21:13 - down   (00:34)    
shutdown system down  4.4.118          Thu Mar  8 14:06 - 21:12  (07:06)    
mlv      tty1                          Thu Mar  8 08:48 - down   (05:18)    
shutdown system down  4.4.118          Wed Mar  7 15:53 - 08:47  (16:53)    
mlv      tty1                          Wed Mar  7 07:25 - down   (08:28)    
shutdown system down  4.4.118          Tue Mar  6 15:52 - 07:24  (15:31)    
mlv      tty1                          Tue Mar  6 07:28 - down   (08:24)    
shutdown system down  4.4.118          Mon Mar  5 16:00 - 07:27  (15:27)    
mlv      tty1                          Mon Mar  5 07:14 - down   (08:46)    
shutdown system down  4.4.118          Sat Mar  3 17:22 - 07:13 (1+13:51)   
mlv      tty1                          Sat Mar  3 14:34 - down   (02:47)    
shutdown system down  4.4.118          Sat Mar  3 11:51 - 14:33  (02:42)    
mlv      tty1                          Sat Mar  3 07:07 - down   (04:43)    
shutdown system down  4.4.118          Fri Mar  2 20:37 - 07:06  (10:28)    
mlv      tty1                          Fri Mar  2 17:59 - down   (02:37)    
shutdown system down  4.4.118          Fri Mar  2 14:03 - 17:58  (03:54)    
mlv      tty1                          Fri Mar  2 07:34 - down   (06:29)    
shutdown system down  4.4.115          Fri Mar  2 07:27 - 07:30  (00:02)    
mlv      tty1                          Fri Mar  2 07:14 - down   (00:13)    
shutdown system down  4.4.115          Thu Mar  1 15:44 - 07:13  (15:28)    
mlv      tty1                          Thu Mar  1 07:24 - down   (08:19)    
shutdown system down  4.4.115          Wed Feb 28 15:56 - 07:24  (15:27)    
mlv      tty1                          Wed Feb 28 08:58 - down   (06:57)    
shutdown system down  4.4.115          Tue Feb 27 20:37 - 07:16  (10:38)    
mlv      tty1                          Tue Feb 27 17:56 - down   (02:40)    
shutdown system down  4.4.115          Tue Feb 27 14:36 - 17:54  (03:17)    
mlv      tty1                          Tue Feb 27 07:06 - down   (07:29)    
shutdown system down  4.4.115          Tue Feb 27 06:45 - 07:06  (00:20)    
mlv      tty1                          Tue Feb 27 05:50 - down   (00:54)    
shutdown system down  4.4.115          Tue Feb 27 05:00 - 05:49  (00:48)