sysdef(1M)




NAME

     sysdef - output system definition


SYNOPSIS

     /usr/sbin/sysdef [-n namelist]

     /usr/sbin/sysdef [-h] [-d] [-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 confi-
     guration 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  hexade-
           cimal.   This  numeric  value is unique across all Sun
           hosts.

     -d    The output includes the configuration of system  peri-
           pherals 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 peri-
           pheral.


EXAMPLES

     Example 1: Sample output format

     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


ATTRIBUTES

     See attributes(5) for descriptions of the  following  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Availability                | SUNWcsu (32-bit)            |
    |_____________________________|_____________________________|
    |                             | SUNWcsxu (64-bit)           |
    |_____________________________|_____________________________|


SEE ALSO

     hostid(1), prtconf(1M), nlist(3ELF), attributes(5)


Man(1) output converted with man2html