up

Langue: en

Version: OCTOBER 1998 (mandriva - 22/10/07)

Section: 1 (Commandes utilisateur)

NAME

up - display system uptime in uber-cool format

SYNOPSIS

up [option]

DESCRIPTION

up was written as a replacement for the uptime program that comes with most Linux distributions. It can output the uptime in the standard format that most users are accustomed to or it can output the uptime in its native format. up's most popular feature is that it can calculate and display the uptime all the way out to decades.

OPTIONS

-c
Display uptime in standard uptime format, for quick comparison with other systems.
-n
Output numbers only (useful for scripts?). The numbers are in this order: decades, years, weeks, days, hours, minutes. Zero values are not eliminated.
-u
Displays the default uptime format without the preceeding 'up'.
-v
Return the version number and author information.
-h
Display the help screen.

LONG OPTIONS

Command line options can also be specified with their long format equivalent.
--compare
Same as -c
--numbers
Same as -n
--noup
Same as -u
--version
Same as -v
--help
Same as -h

BUGS

No known bugs in the current versions. Currently the program will only work on Linux systems with /proc filesystem support.

AUTHOR

David Cantrell <david@burdell.org>

SEE ALSO

uptime(1)