NAME
sysdef - output system definition
SYNOPSIS
/usr/sbin/sysdef [ -n namelist ]
/usr/sbin/sysdef [ -h ] [ -d ]
AVAILABILITY
SUNWcsr
DESCRIPTION
sysdef outputs the current system definition in tabular
form. It lists all hardware devices, as well as pseudo dev-
ices, 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 confi-
guration information from it.
sysdef uses the in-core image as the default for namelist.
OPTIONS
-n namelist Specifies a namelist other than the default.
The namelist specified must be a valid boot-
able operating system.
-h Prints the identifier of the current host in
hexadecimal. This numeric value is unique
across all Sun hosts.
-d The output includes the configuration of
system peripherals formatted as a device
tree.
EXAMPLES
The following example displays the format of the sysdef - d
output:
example% sysdef -d
Node 'Sun 4/60', unit #0 (no driver)
Node 'options', unit #0 (no driver)
Node 'zs', unit #0
Node 'zs', unit #1
Node 'fd', unit #0
Node 'audio', unit #0
Node 'sbus', unit #0
Node 'dma', unit #0
Node 'esp', unit #0
Node 'st', unit #1 (no driver)
Node 'st', unit #0
Node 'sd', unit #3
Node 'sd', unit #2
Node 'sd', unit #1
Node 'sd', unit #0
Node 'le', unit #0
Node 'bwtwo', unit #0
Node 'auxiliary-io', unit #0
Node 'interrupt-enable', unit #0
Node 'memory-error', unit #0
Node 'counter-timer', unit #0
Node 'eeprom', unit #0
FILES
/kernel/* default directories containing
loadable objects
SEE ALSO
hostid(1B), prtconf(1M), nlist(3E)