HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)

i
intctl(1M) intctl(1M)
-F Produce a compact listing of fields separated by colons ":".
-h Display the usage of the command.
-H hw_path Display interrupt information about all interface cards connected at the specified hardware
path. For hardware paths / and
0, intctl prints the interrupt information about all the
interface cards on the system.
When used with the
-C class option,
-H displays information about all interface cards con-
nected to the path and which belong to the specified class.
When used with the
-M option, -H hw_path specifies the hardware path of the interrupt
that needs to be moved to a different CPU.
-I intr_id Specify the interrupt ID of the interrupt to be moved (to be used with the
-M option).
-l [cell_id] Display the CPUs available in the Cell. The cell_id is an optional argument, when missing
intctl will display the CPUs available in all the Cells.
-M Migrate an interrupt to a specified CPU. This option must be specified with the
-H, -I, -c
options.
The
-M option must be specified first in the command line followed by the remaining
options which can be specified in any order.
-p Display interrupt information about all the CPUs on the system in a long format with spac-
ing in between the fields.
-r file Restore the system interrupt configuration from the specified file, file. The interrupt
configuration is restored only if all the interface cards and CPUs referenced in the saved
configuration file are still present on the system and the CPUs are in the same state as in
the saved configuration. If new cards and new CPUs are added to the system,
intctl
will continue to restore the interrupt configuration as long as the old configuration has not
changed.
intctl will fail to restore the interrupt configuration if the file permission is
not 0600.
In restoring the system configuration, the command will assign interrupts from the inter-
face cards to the CPUs as specified in the file.
-s file Save the system interrupt configuration to the specified file, file, with file permission 0600.
If the file exists, the content of the file will be overwritten and the file permissions will be
changed to 0600. The command will store the interrupt information of all the CPUs on the
system. This file can be used to restore the interrupt configuration of the system later using
the
-r option.
-w Force the migration of interrupts even if warnings are found during migration verification.
When this option is not specified,
intctl displays a prompt, asking for user confirmation.
This option can be used only with -M option.
Interrupt Configuration Display
The interrupt configuration can be displayed sorted by CPU ID (intctl -p) or sorted by interface card
hardware path (
intctl -H hw_path).
By default, the command displays interrupt information about all the interface cards on the system. Here
is a sample interrupt configuration display, and the fields are explained below.
Note: For cards using two or more interrupts, only the CPU and interrupt information is displayed from
the second interrupt entry. The option -F can be used to get all the information repeated for every inter-
rupt entry (which is same as what previous version of intctl displayed for cards using multiple inter-
rupts).
hw path class drv card cpu cpu intr intr card
name cell ID cell type ID description
===================================================================
0/0/0/0/0 tty asio0 0 0 0 L 1 PCI SimpleComm
(103c1290)
0/0/0/0/1 tty asio0 0 0 0 L 1 PCI Serial
(103c1048)
0/0/0/1/0 lan igelan 0 2 0L1HPA7109-60001
PCI 1000Base-T Core
360 Hewlett-Packard Company 2 HP-UX 11i Version 3: February 2007