6324 Add an `ndp' tool for manipulating the neighbors table
[illumos-gate.git] / usr / src / man / man1m / sysdef.1m
blob146a07636cf7926a5c3ff0704b82a7c6ba41083f
1 '\" te
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 1M "Feb 25, 2009"
8 .SH NAME
9 sysdef \- output system definition
10 .SH SYNOPSIS
11 .LP
12 .nf
13 \fB/usr/sbin/sysdef\fR [\fB-i\fR] [\fB-n\fR \fInamelist\fR]
14 .fi
16 .LP
17 .nf
18 \fB/usr/sbin/sysdef\fR [\fB-h\fR] [\fB-d\fR] [\fB-i\fR] [\fB-D\fR]
19 .fi
21 .SH DESCRIPTION
22 .sp
23 .LP
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.
27 .sp
28 .LP
29 It generates the output by analyzing the named bootable operating system file
30 (\fInamelist\fR) and extracting the configuration information from it.
31 .sp
32 .LP
33 The default system \fInamelist\fR is \fB/dev/kmem\fR.
34 .SH OPTIONS
35 .sp
36 .ne 2
37 .na
38 \fB\fB-i\fR\fR
39 .ad
40 .RS 15n
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.
45 .RE
47 .sp
48 .ne 2
49 .na
50 \fB\fB-n\fR \fInamelist\fR\fR
51 .ad
52 .RS 15n
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.
55 .RE
57 .sp
58 .ne 2
59 .na
60 \fB\fB-h\fR\fR
61 .ad
62 .RS 15n
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.
67 .RE
69 .sp
70 .ne 2
71 .na
72 \fB\fB-d\fR\fR
73 .ad
74 .RS 15n
75 The output includes the configuration of system peripherals formatted as a
76 device tree.
77 .RE
79 .sp
80 .ne 2
81 .na
82 \fB\fB-D\fR\fR
83 .ad
84 .RS 15n
85 For each system peripheral in the device tree, display the name of the device
86 driver used to manage the peripheral.
87 .RE
89 .SH EXAMPLES
90 .LP
91 \fBExample 1 \fRSample output format
92 .sp
93 .LP
94 The following example displays the format of the \fBsysdef\fR \fB-d\fR output:
96 .sp
97 .in +2
98 .nf
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)
116     Node 'pci', unit #0
117         Node 'pci', unit #0
118             Node 'ebus', unit #0
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)
123                 Node 'su', unit #0
124                 Node 'su', unit #1
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
132             Node 'ide', unit #0
133                 Node 'disk', unit #-1 (no driver)
134                 Node 'cdrom', unit #-1 (no driver)
135                 Node 'sd', unit #1
136                 Node 'dad', unit #1
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
143 .in -2
146 .SH FILES
148 .ne 2
150 \fB\fB/dev/kmem\fR\fR
152 .RS 13n
153 default operating system image
156 .SH SEE ALSO
159 \fBhostid\fR(1), \fBprtconf\fR(1M), \fBnlist\fR(3ELF), \fBattributes\fR(5),
160 \fBzones\fR(5)