Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sysdef(1M) — SunOS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

hostid(1B)

devinfo(1M)

nlist(3E)

sysdef(1M)

NAME

sysdef − output system definition

SYNOPSIS

/usr/sbin/sysdef [ −n namelist ]
/usr/sbin/sysdef [ −h ] [ −i ] [ −d ]

AVAILABILITY

SUNWcsr

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 and files in the /modules directory. 

The default system namelist is /kernel/unix. 

OPTIONS

−n namelist Specifies a namelist other than the default (/kernel/unix).  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. 

−i Allows you to read the configuration information from the kernel that is currently in memory (/dev/kmem) rather than from a file. 

−d Displays the current system definition in the same format as the devinfo(1M) command. 

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/unix default operating system file (file that contains the system namelist)

/kernel/∗ default directories containing loadable objects

SEE ALSO

hostid(1B), devinfo(1M), nlist(3E)

SunOS 5.1  —  Last change: 14 Sep 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026