HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
i
ioscan(1M) ioscan(1M)
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, and card
instance. If a field does not exist, consecutive colons hold the field’s position. Fields are defined as follows:
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.
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.
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.
driver The name of the driver that controls the hardware component. If no driver is avail-
able to control the hardware component, a question mark (?) is displayed in the out-
put.
software state The result of software binding.
CLAIMED software bound successfully
UNCLAIMED no associated software found
DIFF_HW software found does not match the associated software
NO_HW the hardware at this address is no longer responding
ERROR the hardware at this address is responding but is in an error state
SCAN node locked, try again later
hardware type Entity identifier for the hardware component. It is one of the following strings:
UNKNOWN There is no hardware associated or the type of hardware is unknown
PROCESSOR Hardware component is a processor
MEMORY Hardware component is memory
BUS_NEXUS Hardware component is bus converter or bus adapter
INTERFACE Hardware component is an interface card
DEVICE Hardware component is a device
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
generated 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
Section 1M−−384 Hewlett-Packard Company − 2 − HP-UX 11i Version 1: September 2005