HP-UX Reference (11i v2 07/12) - 1M System Administration Commands A-M (vol 3)
i
ioscan(1M) ioscan(1M)
-n List device file names in the output. Only special files in the
/dev directory and
its subdirectories are listed.
-t Display the date and time at which the system hardware was last scanned. The
output of the
ioscan command used with this option is as follows:
Fri Nov
22 11:22:21 2002
-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.
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
SUSPENDED associated software and hardware is in suspended state
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.
HP-UX 11i Version 2: December 2007 Update − 2 − Hewlett-Packard Company 415