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

i
intctl(1M) intctl(1M)
RETURN VALUE
Exit values are:
0 Successful completion.
>0 An error condition occurred.
EXAMPLES
Display information about all interface cards which belong to the class
lan:
intctl -C lan
Display the interrupt information of the card with hardware path
0/4/0/0/5/0 :
intctl -H 0/4/0/0/5/0
Display interrupt information of all the interface cards under the path,
0/4:
intctl -H 0/4
Display interrupt information of all interface cards under the hardware path
0/4 and which belong to class
lan:
intctl -C lan -H 0/4
Display interrupt information about the CPU with CPU ID 3:
intctl -c 3
Migrate the interrupt with ID 1, coming from the card whose hardware path is 0/4/0/0/5/0 to CPU
3:
intctl -M -H 0/4/0/0/5/0 -I 1 -c 3
Store the system interrupt configuration to myconfig;ifmyconfig already exists, its contents are
overwritten:
intctl -s myconfig
Restore the system interrupt configuration from myconfig :
intctl -r myconfig
Balance interrupts using driver_weight
algorithm and without user confirmation:
intctl -b -w -a driver_weight
Balance interrupts only if less than 40% of the available CPUs are handling interrupts, and distribute the
interrupts across 75% of the CPUs available:
intctl -b -w -o trig:40:75
Balance interrupts ignoring all interrupts of the I/O card with hardware path 1/2/1/0, ignore the CPU
with hardware path 133/2, and ignore the driver graf1; also, ask for confirmation before performing
interrupt migrations:
intctl -b -i io:1/2/1/0:-1 -i cpu:133/2 -i drv:graf1
Balance interrupts according to the configuration file, but add a new driver graf
with weight 300 and
change the weight of existing
btlan driver from 10 (specified in the configuration file) to 15:
intctl -b -o drv:graf:300 -o drv:btlan:15
Balance interrupts if the current percentage of number of available CPUs handling interrupts is below 60%
and distribute the interrupts across 80% of number of available CPUs the system:
intctl -b -o trig:60:80
WARNINGS
The intctl command can be executed only by the superuser. The intctl command should be used
only by performance analysts for performance tuning purposes. If care is not taken to redistribute the
interrupts properly, it could lead to a decrease in the overall system performance by overloading some pro-
cessors and by not optimally utilizing the remaining processors.
408 Hewlett-Packard Company 8 HP-UX 11i Version 2: December 2007 Update