---
name: "ud"
section: "1"
platform: "linux"
package: "ud"
version: "0.7.1-21"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/ud"
---

# 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)](/udconfig/8.md), */usr/share/doc/ud*

## AUTHOR

- Matthew Trent

  This manual page was written by Fredrik Hallenberg \<hallon@debian.org\>, and modified by Thibaut Varene \<varenet@debian.org\>, for the Debian GNU/Linux system.
