Module Name: src Committed By: jruoho Date: Wed Jun 22 19:34:53 UTC 2011
Modified Files: src/distrib/sets/lists/man: mi src/share/man/man4: Makefile Added Files: src/share/man/man4: sysmon.4 Log Message: Add a small summary page for sysmon. From the list in PR # kern/21345. To generate a diff of this commit: cvs rdiff -u -r1.1319 -r1.1320 src/distrib/sets/lists/man/mi cvs rdiff -u -r1.558 -r1.559 src/share/man/man4/Makefile cvs rdiff -u -r0 -r1.1 src/share/man/man4/sysmon.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/sets/lists/man/mi diff -u src/distrib/sets/lists/man/mi:1.1319 src/distrib/sets/lists/man/mi:1.1320 --- src/distrib/sets/lists/man/mi:1.1319 Mon Jun 6 16:52:15 2011 +++ src/distrib/sets/lists/man/mi Wed Jun 22 19:34:53 2011 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.1319 2011/06/06 16:52:15 jruoho Exp $ +# $NetBSD: mi,v 1.1320 2011/06/22 19:34:53 jruoho Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -1598,6 +1598,7 @@ ./usr/share/man/cat4/swsensor.0 man-sys-catman .cat ./usr/share/man/cat4/swwdog.0 man-sys-catman .cat ./usr/share/man/cat4/sysbeep.0 man-sys-catman .cat +./usr/share/man/cat4/sysmon.0 man-sys-catman .cat ./usr/share/man/cat4/systrace.0 man-obsolete obsolete ./usr/share/man/cat4/tap.0 man-sys-catman .cat ./usr/share/man/cat4/tb.0 man-obsolete obsolete @@ -4315,6 +4316,7 @@ ./usr/share/man/html4/swsensor.html man-sys-htmlman html ./usr/share/man/html4/swwdog.html man-sys-htmlman html ./usr/share/man/html4/sysbeep.html man-sys-htmlman html +./usr/share/man/html4/sysmon.html man-sys-htmlman html ./usr/share/man/html4/tap.html man-sys-htmlman html ./usr/share/man/html4/tc.html man-sys-htmlman html ./usr/share/man/html4/tcds.html man-sys-htmlman html @@ -6951,6 +6953,7 @@ ./usr/share/man/man4/swsensor.4 man-sys-man .man ./usr/share/man/man4/swwdog.4 man-sys-man .man ./usr/share/man/man4/sysbeep.4 man-sys-man .man +./usr/share/man/man4/sysmon.4 man-sys-man .man ./usr/share/man/man4/systrace.4 man-obsolete obsolete ./usr/share/man/man4/tap.4 man-sys-man .man ./usr/share/man/man4/tb.4 man-obsolete obsolete Index: src/share/man/man4/Makefile diff -u src/share/man/man4/Makefile:1.558 src/share/man/man4/Makefile:1.559 --- src/share/man/man4/Makefile:1.558 Tue Apr 5 11:24:46 2011 +++ src/share/man/man4/Makefile Wed Jun 22 19:34:53 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.558 2011/04/05 11:24:46 phx Exp $ +# $NetBSD: Makefile,v 1.559 2011/06/22 19:34:53 jruoho Exp $ # @(#)Makefile 8.1 (Berkeley) 6/18/93 MAN= aac.4 ac97.4 acardide.4 aceride.4 acphy.4 \ @@ -55,7 +55,7 @@ shpcic.4 siisata.4 siop.4 sip.4 siside.4 sk.4 sl.4 slide.4 \ sm.4 smsh.4 sn.4 sony.4 spc.4 speaker.4 spif.4 sqphy.4 ss.4 \ st.4 ste.4 stge.4 sti.4 stpcide.4 sv.4 strip.4 \ - svwsata.4 swsensor.4 swwdog.4 \ + svwsata.4 swsensor.4 swwdog.4 sysmon.4 \ tap.4 tc.4 tcds.4 tcp.4 termios.4 tfb.4 thinkpad.4 \ ti.4 tl.4 tlp.4 tlphy.4 \ tp.4 tr.4 tra.4 trm.4 tty.4 tun.4 tqphy.4 twa.4 twe.4 txp.4 \ Added files: Index: src/share/man/man4/sysmon.4 diff -u /dev/null src/share/man/man4/sysmon.4:1.1 --- /dev/null Wed Jun 22 19:34:53 2011 +++ src/share/man/man4/sysmon.4 Wed Jun 22 19:34:53 2011 @@ -0,0 +1,75 @@ +.\" $NetBSD: sysmon.4,v 1.1 2011/06/22 19:34:53 jruoho Exp $ +.\" +.\" Copyright (c) 2011 Jukka Ruohonen <jruoho...@iki.fi> +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +.\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +.\" A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +.\" OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +.\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd June 22, 2011 +.Dt SYSMON 4 +.Os +.Sh NAME +.Nm sysmon +.Nd system monitoring and power management interface +.Sh DESCRIPTION +The machine-independent +.Nm +is a general purpose framework for system monitorin and power management. +The main components of +.Nm +include: +.Bl -bullet -offset indent +.It +An +.Xr ioctl 2 +interface available via +.Pa /dev/sysmon . +The userland counterparts +include utilities such as +.Xr envstat 8 +and daemons such as +.Xr powerd 8 . +.It +An interface for the purpose of delivering different +system and power events to userspace; +.Xr sysmon_pswitch 9 . +.It +A general purpose sensor framework, +.Xr sysmon_envsys 9 . +.It +A general purpose task queue, +.Xr sysmon_taskq 9 . +.It +An interface for watchdog timers. +.Sh SEE ALSO +.Xr envsys 4 , +.Xr swsensor 4 , +.Xr envstat 8 , +.Xr powerd 8 , +.Xr wdogctl 8 , +.Xr pmf 9 +.Sh FILES +.Bd -literal +/dev/sysmon +.Ed +.Sh AUTHORS +.An Jason R. Thorpe Aq thor...@netbsd.org