tools: add c key to reset ERR counters

Reset the ERR counters when pressing the c key. This only makes the
current pw-top start counting from 0 again, it does not change anything
globally on the server. It's still usefull because you can use it to
let it count the number of new errors since the keypress.
This commit is contained in:
Wim Taymans 2025-04-30 15:10:15 +02:00
parent 8d3cb2cd84
commit 2ea8d3430c
2 changed files with 31 additions and 4 deletions

View file

@ -177,6 +177,16 @@ Names are prefixed by *+* when they are linked to a driver (entry
above with no +)
\endparblock
# COMMANDS
The following keys can be used in the interactive mode:
\par q
Quit
\par c
Clear the ERR counters. This does *not* clear the counters globally,
it will only reset the counters in this instance of *pw-top*.
# OPTIONS