Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
System Administration Commandssysdef(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 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.
-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 '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 attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsu (32-bit)
 SUNWcsxu (64-bit)

SEE ALSO

 

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


SunOS 5.9Go To TopLast Changed 6 Jul 1998

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.