diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-04-21 08:35:01 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-04-21 08:35:01 +0000 |
commit | 44ea6e065a4de9eb985478995261047b4a9f4dba (patch) | |
tree | 5e921fb5e2b3caf03ebf6566a72d0f7789e0c476 | |
parent | d73deb093f0fa7f65fe0cc59e636e514cf3ddefa (diff) |
ami sysctl diff; from michael knudsen
ok dlg
-rw-r--r-- | share/man/man4/ami.4 | 18 | ||||
-rw-r--r-- | usr.sbin/sensorsd/sensorsd.8 | 8 |
2 files changed, 21 insertions, 5 deletions
diff --git a/share/man/man4/ami.4 b/share/man/man4/ami.4 index 7dbcb9a6617..376839007d0 100644 --- a/share/man/man4/ami.4 +++ b/share/man/man4/ami.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ami.4,v 1.32 2006/02/24 09:57:55 jmc Exp $ +.\" $OpenBSD: ami.4,v 1.33 2006/04/21 08:35:00 jmc Exp $ .\" .\" Michael Shalayeff, 2001. Public Domain. .\" @@ -96,6 +96,18 @@ device or one of the daughter devices as implemented in the .Xr bioctl 8 utility. +Logical disk status is exposed under the +.Va hw.sensors +.Xr sysctl 8 +and can be monitored using +.Xr sensorsd 8 . +For example: +.Bd -literal -offset indent +$ sysctl hw.sensors +hw.sensors.0=sd0, ami0 0, drive online, OK +hw.sensors.1=sd1, ami0 1, degraded, WARN +hw.sensors.2=sd2, ami0 2, failed, CRITICAL +.Ed .Sh SEE ALSO .Xr bio 4 , .Xr intro 4 , @@ -103,7 +115,9 @@ utility. .Xr pci 4 , .Xr scsi 4 , .Xr sd 4 , -.Xr bioctl 8 +.Xr bioctl 8 , +.Xr sensorsd 8 , +.Xr sysctl 8 .Sh HISTORY The .Nm diff --git a/usr.sbin/sensorsd/sensorsd.8 b/usr.sbin/sensorsd/sensorsd.8 index 1648651a2fc..1f943242d37 100644 --- a/usr.sbin/sensorsd/sensorsd.8 +++ b/usr.sbin/sensorsd/sensorsd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sensorsd.8,v 1.8 2005/08/10 16:32:06 aanriot Exp $ +.\" $OpenBSD: sensorsd.8,v 1.9 2006/04/21 08:35:00 jmc Exp $ .\" .\" Copyright (c) 2003 Henning Brauer <henning@openbsd.org> .\" Copyright (c) 2005 Matthew Gream <matthew.gream@pobox.com> @@ -26,8 +26,10 @@ .Sh DESCRIPTION The .Nm -utility retrieves hardware sensor monitoring data like fan speeds, -temperatures and voltages, via +utility retrieves sensor monitoring data like fan speeds, +temperatures, voltages, and +.Xr ami 4 +logical disk status via .Xr sysctl 3 . If the data is out of given limits, an alert is sent using .Xr syslog 3 |