From efd9bc7177c66d7bb9a994e919d915ecb5c75154 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sun, 12 Dec 2010 23:51:14 +0100 Subject: Uptime as a Monitor --- README | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'README') diff --git a/README b/README index 8de3050..a8e7e0c 100644 --- a/README +++ b/README @@ -314,6 +314,17 @@ installed by default. Each monitor has an `alias` to be used in the output template. Monitors have default aliases. +`Uptime Args RefreshRate` + +- Aliases to `uptime` +- Args: default monitor arguments (see below). The low and high + thresholds refer to the number of days. +- Variables that can be used with the `-t`/`--template` argument: + `days`, `hours`, `minutes`, `seconds`. The total uptime is the + sum of all those fields. You can set the `-P` argument to "True" + to add units to the display of those numeric fields. +- Default template: `Up: d h m` + `Weather StationID Args RefreshRate` - Aliases to the Station ID: so `Weather "LIPB" []` can be used in template as `%LIPB%` @@ -660,10 +671,6 @@ can be used in the output template as `%mydate%` - Format is a time format string, as accepted by the standard ISO C `strftime` function (or Haskell's `formatCalendarTime`). -`Uptime Alias RefreshRate` - -- Shows system uptime. - `CommandReader "/path/to/program" Alias` - Runs the given program, and displays its standard output. -- cgit v1.2.3