Max Uptime

max_uptime stores the maximum uptime. The usage is the following:

max_uptime: usage: max_uptime [-s] path_to_max
   -s           only show the maximum uptime
   path_to_max  path where the maximum uptime is stored

  This program, when called without -s, compares /proc/uptime and
  path_to_max and stores the maximum uptime in path_to_max.

  Note: path_to_max file  is created if it not exists.

Typical use:

$ max_uptime /var/log/max_uptime



Installation