From 7e451c16ba677880c82e2b3429641140bd01f80c Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Sun, 24 May 2015 20:46:53 +0800 Subject: [PATCH] systat.1: Update sensors display specific commands --- usr.bin/systat/systat.1 | 51 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/usr.bin/systat/systat.1 b/usr.bin/systat/systat.1 index 34b3ab228a..403cf22a54 100644 --- a/usr.bin/systat/systat.1 +++ b/usr.bin/systat/systat.1 @@ -29,7 +29,7 @@ .\" $FreeBSD: src/usr.bin/systat/systat.1,v 1.23.2.9 2002/12/29 16:35:40 schweikh Exp $ .\" $DragonFly: src/usr.bin/systat/systat.1,v 1.8 2008/09/02 11:50:46 matthias Exp $ .\" -.Dd September 28, 2009 +.Dd May 24, 2015 .Dt SYSTAT 1 .Os .Sh NAME @@ -261,6 +261,55 @@ Display, in the lower window, the current values of available hardware sensors, in a format similar to that of .Xr sysctl 8 . +.Pp +The following commands are specific to the +.Ic sensors +display; the minimum unambiguous prefix may be supplied. +.Pp +.Bl -tag -width Fl -compact +.It Ic type Op Ar types +Display only the sensors match the specified +.Ar types . +Multiple types may be specified, +separated by spaces. +If no types are specified, +all available sensors will be displayed. +Supported +.Ar types +are +.Cm temp , +.Cm fan , +.Cm volt , +.Cm acvolt , +.Cm resistance , +.Cm power , +.Cm current , +.Cm watthour , +.Cm amphour , +.Cm indicator , +.Cm raw , +.Cm percent , +.Cm illuminance , +.Cm drive , +.Cm timedelta , +and +.Cm ecc . +.It Ic match Op Ar devices +Display only the sensors match the specified +.Ar devices . +Multiple devices may be specified, +separated by spaces. +If no devices are specified, +all available sensors will be displayed. +A device type could be specified by using +an asterisk +.Pq Sq Li * +in the place of the device unit. +For example: +.Pp +.Dl match cpu* +.Pp +.El .It Ic swap Show information about swap space usage on all the swap areas compiled into the kernel. -- 2.41.0