ud(1)

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.

  1. 2.1–3.0
  2. 3.1
  3. 4.0–5.0

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

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.

From ud 0.7.1-21 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.