ud1
The uptime daemon
Usage
ud [{-d | --version | --help | [-s]
[-o]
[-w]
[-of
file]
[-if
file]
[-in
value]
[-p
file]
[-r
file]}]
Overview
Ever wanted to brag about how stable your computer is to your (NT?) friends, but couldn't remember your best uptime? Well, this is the program for you :)
ud runs in the background, constantly checking the current uptime against your 3 best uptime records. If the current uptime surpasses a record, that becomes the new record. Records are stored in /var/lib/misc/uptime.record. Use the -d option to parse that into readable format.
ud can also read in a template file and output a customized HTML file, or it can render a default HTML format. An example template is included in the distribution.
Options
-
-d -
Display current uptime records
-
-s -
Disable output to HTML stats file (which is enabled by default)
-
-o -
Use original HTML output format
-
-w -
Write HTML stats and exit
-
-of file -
Use file for HTML output (default: /home/httpd/ud.html)
-
-if file -
Use file for HTML template (default: /etc/template.ud)
-
-in value -
Use value seconds for the stats update interval (default:
120)
-
-p file -
Use file for recording PID (default: /var/run/ud.pid)
-
-r file -
Use file for storing records (default: /var/lib/misc/uptime.record)
-
--version -
Output version information and exit
-
--help -
Get help
Releases
6 releases since Debian 2.1 (Slink); the text changed 2 times.
-p since Debian 4.0 (Etch);
-r since Debian 4.0 (Etch).