sysdef

- output system definition

用法概要

/usr/sbin/sysdef [-i] [-nnamelist]

/usr/sbin/sysdef [-h] [-d] [-i] [-D]

描述

The sysdef utility outputs the current system definition in tabular form. It
lists all hardware devices, as well as pseudo devices, system devices, loadable
modules, and the values of selected kernel tunable parameters.

It generates the output by analyzing the named bootable operating system file
(namelist) and extracting the configuration information from it.

The default system namelist is /dev/kmem.

选项

-i

Prints the configuration information from /dev/kmem. This is the default and only needs to be specified if the configuration information from both /dev/kmem and the system file specified with the “-nnamelist” option is needed.

-nnamelist

Specifies a namelist other than the default (/dev/kmem). The namelist specified must be a valid bootable operating system.

-h

Prints the identifier of the current host in hexadecimal. If sysdef-h is executed within a non-global zone and the zone emulates a host identifier, then the zone's host identifier is printed. This numeric value is not guaranteed to be unique.

-d

The output includes the configuration of system peripherals formatted as a device tree.

-D

For each system peripheral in the device tree, display the name of the device driver used to manage the peripheral.