Reference

ud(1)

The uptime daemon

NAME

ud - The uptime daemon

SYNOPSIS

ud [-d | --version | --help | [-s] [-o] [-w] [-of file] [-if file] [-in value] [-p file] [-r file]]

DESCRIPTION

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

SEE ALSO

udconfig(8), /usr/share/doc/ud

AUTHOR

Matthew Trent

This manual page was written by Fredrik Hallenberg <[email protected]>, and modified by Thibaut Varene <[email protected]>, for the Debian GNU/Linux system.

History

-p since Debian 4.0 (Etch); -r since Debian 4.0 (Etch).