Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Add intrctl(8) man.



details:   https://anonhg.NetBSD.org/src/rev/8d78395d978d
branches:  trunk
changeset: 810052:8d78395d978d
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Mon Aug 17 06:50:03 2015 +0000

description:
Add intrctl(8) man.

diffstat:

 distrib/sets/lists/man/mi  |   5 ++-
 usr.sbin/intrctl/intrctl.8 |  70 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+), 1 deletions(-)

diffs (107 lines):

diff -r 72ba8607a01d -r 8d78395d978d distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Mon Aug 17 06:42:45 2015 +0000
+++ b/distrib/sets/lists/man/mi Mon Aug 17 06:50:03 2015 +0000
@@ -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
diff -r 72ba8607a01d -r 8d78395d978d usr.sbin/intrctl/intrctl.8
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/usr.sbin/intrctl/intrctl.8        Mon Aug 17 06:50:03 2015 +0000
@@ -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



Home | Main Index | Thread Index | Old Index