SYSDEF(8) Maintenance Commands and Procedures SYSDEF(8)
NAME
sysdef - output system definition
SYNOPSIS
/usr/sbin/sysdef [
-i] [
-n namelist]
/usr/sbin/sysdef [
-h] [
-d] [
-i] [
-D]
DESCRIPTION
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.
OPTIONS
-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 "
-n namelist"
option is needed.
-n namelist 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.
EXAMPLES
Example 1: Sample output format
The following example displays the format of the
sysdef -d output:
example%
sysdef -d Node 'SUNW,Ultra-5_10', unit #-1
Node 'packages', unit #-1 (no driver)
Node 'terminal-emulator', unit #-1 (no driver)
Node 'deblocker', unit #-1 (no driver)
Node 'obp-tftp', unit #-1 (no driver)
Node 'disk-label', unit #-1 (no driver)
Node 'SUNW,builtin-drivers', unit #-1 (no driver)
Node 'sun-keyboard', unit #-1 (no driver)
Node 'ufs-file-system', unit #-1 (no driver)
Node 'chosen', unit #-1 (no driver)
Node 'openprom', unit #-1 (no driver)
Node 'client-services', unit #-1 (no driver)
Node 'options', unit #0
Node 'aliases', unit #-1 (no driver)
Node 'memory', unit #-1 (no driver)
Node 'virtual-memory', unit #-1 (no driver)
Node 'pci', unit #0
Node 'pci', unit #0
Node 'ebus', unit #0
Node 'auxio', unit #-1 (no driver)
Node 'power', unit #0
Node 'SUNW,pll', unit #-1 (no driver)
Node 'se', unit #0 (no driver)
Node 'su', unit #0
Node 'su', unit #1
Node 'ecpp', unit #-1 (no driver)
Node 'fdthree', unit #0
Node 'eeprom', unit #-1 (no driver)
Node 'flashprom', unit #-1 (no driver)
Node 'SUNW,CS4231', unit #0 (no driver)
Node 'network', unit #0
Node 'SUNW,m64B', unit #0
Node 'ide', unit #0
Node 'disk', unit #-1 (no driver)
Node 'cdrom', unit #-1 (no driver)
Node 'sd', unit #1
Node 'dad', unit #1
Node 'pci', unit #-1 (no driver)
Node 'SUNW,UltraSPARC-IIi', unit #-1 (no driver)
Node 'pseudo', unit #0
[output truncated]FILES
/dev/kmem default operating system image
SEE ALSO
hostid(1),
nlist(3ELF),
attributes(7),
zones(7),
prtconf(8) February 25, 2009 SYSDEF(8)