Module Name: src Committed By: knakahara Date: Mon Aug 17 06:50:03 UTC 2015
Modified Files: src/distrib/sets/lists/man: mi Added Files: src/usr.sbin/intrctl: intrctl.8 Log Message: Add intrctl(8) man. To generate a diff of this commit: cvs rdiff -u -r1.1503 -r1.1504 src/distrib/sets/lists/man/mi cvs rdiff -u -r0 -r1.1 src/usr.sbin/intrctl/intrctl.8 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.1503 src/distrib/sets/lists/man/mi:1.1504 --- src/distrib/sets/lists/man/mi:1.1503 Mon Aug 10 02:44:37 2015 +++ src/distrib/sets/lists/man/mi Mon Aug 17 06:50:03 2015 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.1503 2015/08/10 02:44:37 mrg Exp $ +# $NetBSD: mi,v 1.1504 2015/08/17 06:50:03 knakahara Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -2544,6 +2544,7 @@ ./usr/share/man/cat8/inetd.0 man-netutil-catman .cat ./usr/share/man/cat8/init.0 man-sysutil-catman .cat ./usr/share/man/cat8/installboot.0 man-sysutil-catman .cat +./usr/share/man/cat8/intrctl.0 man-sysutil-catman .cat ./usr/share/man/cat8/intro.0 man-sys-catman .cat ./usr/share/man/cat8/iopctl.0 man-sysutil-catman .cat ./usr/share/man/cat8/iostat.0 man-sysutil-catman .cat @@ -5419,6 +5420,7 @@ ./usr/share/man/html8/inetd.html man-netutil-htmlman html ./usr/share/man/html8/init.html man-sysutil-htmlman html ./usr/share/man/html8/installboot.html man-sysutil-htmlman html +./usr/share/man/html8/intrctl.html man-sysutil-htmlman html ./usr/share/man/html8/intro.html man-sys-htmlman html ./usr/share/man/html8/iopctl.html man-sysutil-htmlman html ./usr/share/man/html8/iostat.html man-sysutil-htmlman html @@ -8440,6 +8442,7 @@ ./usr/share/man/man8/inetd.8 man-netutil-man .man ./usr/share/man/man8/init.8 man-sysutil-man .man ./usr/share/man/man8/installboot.8 man-sysutil-man .man +./usr/share/man/man8/intrctl.8 man-sysutil-man .man ./usr/share/man/man8/intro.8 man-sys-man .man ./usr/share/man/man8/iopctl.8 man-sysutil-man .man ./usr/share/man/man8/iostat.8 man-sysutil-man .man Added files: Index: src/usr.sbin/intrctl/intrctl.8 diff -u /dev/null src/usr.sbin/intrctl/intrctl.8:1.1 --- /dev/null Mon Aug 17 06:50:03 2015 +++ src/usr.sbin/intrctl/intrctl.8 Mon Aug 17 06:50:03 2015 @@ -0,0 +1,70 @@ +.\" $NetBSD: intrctl.8,v 1.1 2015/08/17 06:50:03 knakahara Exp $ +.\" +.\" Copyright (c) 2015 Internet Initiative Japan Inc. +.\" All rights reserved. +.\" +.\" 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 NETBSD FOUNDATION, INC. 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 FOUNDATION 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 August 17, 2015 +.Dt INTRCTL 8 +.Os +.Sh NAME +.Nm intrctl +.Nd program to control interrupts +.Sh SYNOPSIS +.Nm intrctl +.Ar command +.Op Ar options +.Sh DESCRIPTION +The +.Nm +command can be used to control and inspect the state of intrerupts +in the system. +.Pp +The first argument, +.Ar command , +specifies the action to take. +Valid commands are: +.Bl -tag -width XofflineXcpunoX +.It list +for each intrid in the system, display interrupt counts per CPU. +The intrid is an interrupt name such as "ioapic0 pin 22" for x86. +.It affinity Fl c Ar cpu_index Fl i Ar intrid +set an +.Ar intrid +interrupt's affinity to +.Ar cpu_index . +.It intr Fl c Ar cpu_index +enable to set an interrupt's affinity to +.Ar cpu_index . +If +.Ar cpu_index +is already enabled, this command has no effect. +.It nointr Fl c Ar cpu_index +disable to set an interrupt's affinity to +.Ar cpu_index . +If +.Ar cpu_index +is already disabled, this command has no effect. +.Ed +.Sh SEE ALSO +.Xr cpuctl 8