[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    sysdef(1M) manual page Table of Contents

Name

sysdef - output system definition

Synopsis

/usr/sbin/sysdef [ -n namelist ]
/usr/sbin/sysdef [ -h ] [ -d ]

Availability

SUNWcsu

Description

sysdef 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

-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. 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 #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

/dev/kmem
default operating system image

See Also

hostid(1) , prtconf(1M) , nlist(3E)


Table of Contents