Examples
Note: Uptimed is now maintained by Radek Podgorny.
Up-to-date releases can be found at: http://podgorny.cz/uptimed/.
Usage
-
uprecords -m20
Shows the top 20 records.
-
uprecords -B
Shows records sorted by boot date.
-
uprecords -?
Shows all available command-line parameters.
Using Uptimed with PHP or CGI/SSI
Uptimed can easily be called from PHP:
system("/usr/local/bin/uprecords -a -B"); ?>
Generating HTML with SSI
Uprecords can optionally generate HTML. It will do so when you make a copy of the binary called uprecords.cgi and include it using Server Side Includes. For more information on this behaviour, read the INSTALL.cgi file included in the package.