Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (18 sloc) 747 Bytes


UptimeLogger is a cronjob, which continuously logs the uptime of the system every minute to /var/log/uptime. At every boot this information of lastuptime is appended to the log file named /var/log/uptime.log The logged uptime is precise upto one minute.


Run the with root privileges.


  • It comes with a command lastuptime which shows previous uptime of the system.
  • You can check all the previous uptime entries in /var/log/uptime.log

Copyright and Authors

Copyright (C) 2012 Akshay Mankar, Muneeb Shaikh

License GPLv2: GNU GPL version 2

Something went wrong with that request. Please try again.