From 88230bb0301aebc37c971d235f5a9735d9563f8d Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 30 Mar 2022 19:22:13 +0100 Subject: Load: honour the -d (decimal digits) monitor argument --- doc/plugins.org | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/plugins.org b/doc/plugins.org index cc4169f..8ff75e4 100644 --- a/doc/plugins.org +++ b/doc/plugins.org @@ -676,8 +676,18 @@ - Default template: =Load: =. - Displays load averages for the last 1, 5 or 15 minutes as - reported by, e.g., ~uptime(1)~. + reported by, e.g., ~uptime(1)~. The displayed values are float, + so that the ~"-d"~ option will control how many decimal digits + are shown (zero by default). + - Example: to have 2 decimal digits displayed, with a low + threshold at 1.0 and a high one at 3, you'd write something + like: + + #+begin_src haskell + Run Load ["-t" , " " + , "-L", "1", "-H", "3", "-d", "2"]) 300 + #+end_src ***** =TopProc Args RefreshRate= -- cgit v1.2.3