HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)
i
ioscan(1M) ioscan(1M)
-s Lists stale I/O node entries present in the system. These entries correspond to nodes
that have an entry in the system I/O configuration file, but the corresponding device is
not found (see ioconfig(4)).
-t Display the date and time at which the system hardware was last scanned. This is an
example output ioscan produces with this option:
Fri Nov 22 11:22:21 2005.
-u Scan and list usable I/O system devices instead of the actual hardware. Usable I/O
devices are those having a driver in the kernel and an assigned instance number. The
-d, -C, -I
, and -H options can be used to restrict listings. The -u option cannot be
used with
-k.
-U Initiates a scan on unclaimed nodes of type INTERFACE in the agile view.
The -d and -C options can be used to obtain listings of subsets of the I/O system, although the entire sys-
tem is still scanned. Specifying -d
or -C along with -I, or specifying -H or a devfile causes
ioscan to
restrict both the scan and the listing to the hardware subset indicated.
Fields
The
-F option can be used to generate a compact listing of fields separated by colons (
:), useful for produc-
ing custom listings with
awk.
Fields include the module’s: bus type, cdio, is_block, is_char, is_pseudo, block major number, character
major number, minor number, class, driver, hardware path, identify bytes, instance number, module path,
module name, software state, hardware type, a brief description, card instance and EFI device path or PA
device path.
If the
-N option is specified with the -F option, the health property is added at the end of the listing. If a
field does not exist, consecutive colons hold the field’s position. Fields are defined as follows:
bus type Bus type associated with the node.
cdio The name associated with the Context-Dependent I/O module.
is_block A boolean value indicating whether a device block major number exists. A
T or F is gen-
erated in this field.
is_char A boolean value indicating whether a device character major number exists. A
T or F
is
generated in this field.
is_pseudo A boolean value indicating a pseudo driver. A
T or F is generated in this field.
block major The device block major number. A -1 indicates that a device block major number does
not exist.
character major The device character major number. A -1 indicates that a device character major
number does not exist.
minor The device minor number.
class A device category, defined in the files located in the directory /usr/conf/master.d
and consistent with the listings output by lsdev (see lsdev(1M)). Examples are disk,
printer, and tape.
driver The name of the driver that controls the hardware component. If no driver is available to
control the hardware component, a question mark (?) is displayed in the output.
hw path A numerical string of hardware components, notated sequentially from the bus address to
the device address. Typically, the initial number is appended by slash (/), to represent a
bus converter (if required by your machine), and subsequent numbers are separated by
periods (.). Each number represents the location of a hardware component on the path
to the device.
identify bytes The identify bytes returned from a module or device.
instance The instance number associated with the device or card. It is a unique number assigned
to a card or device within a class. If no driver is available for the hardware component or
an error occurs binding the driver, the kernel will not assign an instance number and a
(-1), is listed.
376 Hewlett-Packard Company − 4 − HP-UX 11i Version 3: February 2007