1sysdef(1M) System Administration Commands sysdef(1M)
2
3
4
6 sysdef - output system definition
7
9 /usr/sbin/sysdef [-i] [-n namelist]
10
11
12 /usr/sbin/sysdef [-h] [-d] [-i] [-D]
13
14
16 The sysdef utility outputs the current system definition in tabular
17 form. It lists all hardware devices, as well as pseudo devices, system
18 devices, loadable modules, and the values of selected kernel tunable
19 parameters.
20
21
22 It generates the output by analyzing the named bootable operating sys‐
23 tem file (namelist) and extracting the configuration information from
24 it.
25
26
27 The default system namelist is /dev/kmem.
28
30 -i Prints the configuration information from /dev/kmem.
31 This is the default and only needs to be specified if
32 the configuration information from both /dev/kmem and
33 the system file specified with the "-n namelist" option
34 is needed.
35
36
37 -n namelist Specifies a namelist other than the default (/dev/kmem).
38 The namelist specified must be a valid bootable operat‐
39 ing system.
40
41
42 -h Prints the identifier of the current host in hexadeci‐
43 mal. If sysdef -h is executed within a non-global zone
44 and the zone emulates a host identifier, then the zone's
45 host identifier is printed. This numeric value is not
46 guaranteed to be unique.
47
48
49 -d The output includes the configuration of system periph‐
50 erals formatted as a device tree.
51
52
53 -D For each system peripheral in the device tree, display
54 the name of the device driver used to manage the periph‐
55 eral.
56
57
59 Example 1 Sample output format
60
61
62 The following example displays the format of the sysdef -d output:
63
64
65 example% sysdef -d
66 Node 'SUNW,Ultra-5_10', unit #-1
67 Node 'packages', unit #-1 (no driver)
68 Node 'terminal-emulator', unit #-1 (no driver)
69 Node 'deblocker', unit #-1 (no driver)
70 Node 'obp-tftp', unit #-1 (no driver)
71 Node 'disk-label', unit #-1 (no driver)
72 Node 'SUNW,builtin-drivers', unit #-1 (no driver)
73 Node 'sun-keyboard', unit #-1 (no driver)
74 Node 'ufs-file-system', unit #-1 (no driver)
75 Node 'chosen', unit #-1 (no driver)
76 Node 'openprom', unit #-1 (no driver)
77 Node 'client-services', unit #-1 (no driver)
78 Node 'options', unit #0
79 Node 'aliases', unit #-1 (no driver)
80 Node 'memory', unit #-1 (no driver)
81 Node 'virtual-memory', unit #-1 (no driver)
82 Node 'pci', unit #0
83 Node 'pci', unit #0
84 Node 'ebus', unit #0
85 Node 'auxio', unit #-1 (no driver)
86 Node 'power', unit #0
87 Node 'SUNW,pll', unit #-1 (no driver)
88 Node 'se', unit #0 (no driver)
89 Node 'su', unit #0
90 Node 'su', unit #1
91 Node 'ecpp', unit #-1 (no driver)
92 Node 'fdthree', unit #0
93 Node 'eeprom', unit #-1 (no driver)
94 Node 'flashprom', unit #-1 (no driver)
95 Node 'SUNW,CS4231', unit #0 (no driver)
96 Node 'network', unit #0
97 Node 'SUNW,m64B', unit #0
98 Node 'ide', unit #0
99 Node 'disk', unit #-1 (no driver)
100 Node 'cdrom', unit #-1 (no driver)
101 Node 'sd', unit #1
102 Node 'dad', unit #1
103 Node 'pci', unit #-1 (no driver)
104 Node 'SUNW,UltraSPARC-IIi', unit #-1 (no driver)
105 Node 'pseudo', unit #0
106
107 [output truncated]
108
109
110
112 /dev/kmem default operating system image
113
114
116 See attributes(5) for descriptions of the following attributes:
117
118
119
120
121 ┌─────────────────────────────┬─────────────────────────────┐
122 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
123 ├─────────────────────────────┼─────────────────────────────┤
124 │Availability │SUNWcsu │
125 └─────────────────────────────┴─────────────────────────────┘
126
128 hostid(1), prtconf(1M), nlist(3ELF), attributes(5), zones(5)
129
130
131
132SunOS 5.11 25 Feb 2009 sysdef(1M)