2 .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
3 .\" Copyright 1989 AT&T
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
5 .\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the
6 .\" fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH SYSDEF 8 "Feb 25, 2009"
9 sysdef \- output system definition
13 \fB/usr/sbin/sysdef\fR [\fB-i\fR] [\fB-n\fR \fInamelist\fR]
18 \fB/usr/sbin/sysdef\fR [\fB-h\fR] [\fB-d\fR] [\fB-i\fR] [\fB-D\fR]
24 The \fBsysdef\fR utility outputs the current system definition in tabular form.
25 It lists all hardware devices, as well as pseudo devices, system devices,
26 loadable modules, and the values of selected kernel tunable parameters.
29 It generates the output by analyzing the named bootable operating system file
30 (\fInamelist\fR) and extracting the configuration information from it.
33 The default system \fInamelist\fR is \fB/dev/kmem\fR.
41 Prints the configuration information from \fB/dev/kmem\fR. This is the default
42 and only needs to be specified if the configuration information from both
43 \fB/dev/kmem\fR and the system file specified with the "\fB-n\fR
44 \fInamelist\fR" option is needed.
50 \fB\fB-n\fR \fInamelist\fR\fR
53 Specifies a \fInamelist\fR other than the default (\fB/dev/kmem\fR). The
54 \fInamelist\fR specified must be a valid bootable operating system.
63 Prints the identifier of the current host in hexadecimal. If \fBsysdef\fR
64 \fB-h\fR is executed within a non-global zone and the zone emulates a host
65 identifier, then the zone's host identifier is printed. This numeric value is
66 not guaranteed to be unique.
75 The output includes the configuration of system peripherals formatted as a
85 For each system peripheral in the device tree, display the name of the device
86 driver used to manage the peripheral.
91 \fBExample 1 \fRSample output format
94 The following example displays the format of the \fBsysdef\fR \fB-d\fR output:
99 example% \fBsysdef\fR \fB-d\fR
100 Node 'SUNW,Ultra-5_10', unit #-1
101 Node 'packages', unit #-1 (no driver)
102 Node 'terminal-emulator', unit #-1 (no driver)
103 Node 'deblocker', unit #-1 (no driver)
104 Node 'obp-tftp', unit #-1 (no driver)
105 Node 'disk-label', unit #-1 (no driver)
106 Node 'SUNW,builtin-drivers', unit #-1 (no driver)
107 Node 'sun-keyboard', unit #-1 (no driver)
108 Node 'ufs-file-system', unit #-1 (no driver)
109 Node 'chosen', unit #-1 (no driver)
110 Node 'openprom', unit #-1 (no driver)
111 Node 'client-services', unit #-1 (no driver)
112 Node 'options', unit #0
113 Node 'aliases', unit #-1 (no driver)
114 Node 'memory', unit #-1 (no driver)
115 Node 'virtual-memory', unit #-1 (no driver)
119 Node 'auxio', unit #-1 (no driver)
120 Node 'power', unit #0
121 Node 'SUNW,pll', unit #-1 (no driver)
122 Node 'se', unit #0 (no driver)
125 Node 'ecpp', unit #-1 (no driver)
126 Node 'fdthree', unit #0
127 Node 'eeprom', unit #-1 (no driver)
128 Node 'flashprom', unit #-1 (no driver)
129 Node 'SUNW,CS4231', unit #0 (no driver)
130 Node 'network', unit #0
131 Node 'SUNW,m64B', unit #0
133 Node 'disk', unit #-1 (no driver)
134 Node 'cdrom', unit #-1 (no driver)
137 Node 'pci', unit #-1 (no driver)
138 Node 'SUNW,UltraSPARC-IIi', unit #-1 (no driver)
139 Node 'pseudo', unit #0
141 \fI[output truncated]\fR
150 \fB\fB/dev/kmem\fR\fR
153 default operating system image
159 \fBhostid\fR(1), \fBprtconf\fR(8), \fBnlist\fR(3ELF), \fBattributes\fR(5),