1prtconf(1M)             System Administration Commands             prtconf(1M)
2
3
4

NAME

6       prtconf - print system configuration
7

SYNOPSIS

9       /usr/sbin/prtconf [-V] | [-F] | [-x] | [-bpv] | [-acdDPv]
10            [dev_path]
11
12

DESCRIPTION

14       The  prtconf  command  prints the system configuration information. The
15       output includes the total amount of memory, and  the  configuration  of
16       system peripherals formatted as a device tree.
17
18
19       If  a  device  path  is specified on the command line for those command
20       options that can take a device path, prtconf will only display informa‐
21       tion for that device node.
22

OPTIONS

24       The following options are supported:
25
26       -a    Display  all  the  ancestors device nodes, up to the root node of
27             the device tree, for the device specified on the command line.
28
29
30       -b    Display the firmware device tree root properties for the  purpose
31             of platform identification. These properties are "name", "compat‐
32             ible", "banner-name" and "model".
33
34
35       -c    Display the device subtree rooted at the device node specified on
36             the command line, that is, display all the children of the device
37             node specified on the command line.
38
39
40       -d    Display vendor ID and device ID for PCI and PCI Express  devices,
41             in addition to the nodename.
42
43
44       -D    For  each system peripheral in the device tree, displays the name
45             of the device driver used to manage the peripheral.
46
47
48       -F    A SPARC-only option. Returns the device path name of the  console
49             frame buffer, if one exists. If there is no frame buffer, prtconf
50             returns a non-zero exit code. This flag must be used  by  itself.
51             It returns only the name of the console, frame buffer device or a
52             non-zero exit code. For example, if the console frame buffer on a
53             SUNW,Ultra-30  is  ffb, the command returns: /SUNW,ffb@1e,0:ffb0.
54             This option could be used to create a symlink for /dev/fb to  the
55             actual console device.
56
57
58       -p    Displays information derived from the device tree provided by the
59             firmware (PROM) on SPARC platforms or the booting system  on  x86
60             platforms.The device tree information displayed using this option
61             is a snapshot of the initial configuration and may not accurately
62             reflect reconfiguration events that occur later.
63
64
65       -P    Includes  information  about pseudo devices. By default, informa‐
66             tion regarding pseudo devices is omitted.
67
68
69       -v    Specifies verbose mode.
70
71
72       -V    Displays platform-dependent PROM (on SPARC platforms) or  booting
73             system  (on x86 platforms) version information. This flag must be
74             used by itself. The output is a string. The format of the  string
75             is arbitrary and platform-dependent.
76
77
78       -x    Reports  if  the  firmware  on  this system is 64-bit ready. Some
79             existing platforms may need a firmware upgrade in  order  to  run
80             the  64-bit  kernel.  If  the operation is not applicable to this
81             platform or the  firmware  is  already  64-bit  ready,  it  exits
82             silently with a return code of zero. If the operation is applica‐
83             ble to this platform and the firmware is  not  64-bit  ready,  it
84             displays  a  descriptive message on the standard output and exits
85             with a non-zero return code. The hardware platform  documentation
86             contains  more  information  about  the platforms that may need a
87             firmware upgrade in order to run the 64-bit kernel.
88
89             This flag overrides all other flags and must be used by itself.
90
91

OPERANDS

93       The following operands are supported:
94
95       dev_path    The path to a target device minor node, device nexus  node,
96                   or device link for which device node configuration informa‐
97                   tion is displayed
98
99

EXIT STATUS

101       The following exit values are returned:
102
103       0           No error occurred.
104
105
106       non-zero    With the -F option (SPARC only), a  non-zero  return  value
107                   means  that  the  output device is not a frame buffer. With
108                   the -x option, a  non-zero  return  value  means  that  the
109                   firmware  is  not  64-bit ready. In all other cases, a non-
110                   zero return value means that an error occurred.
111
112

ATTRIBUTES

114       See attributes(5) for descriptions of the following attributes:
115
116
117
118
119       ┌─────────────────────────────┬─────────────────────────────┐
120       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
121       ├─────────────────────────────┼─────────────────────────────┤
122       │Availability                 │SUNWesu                      │
123       │Interface Stability          │Unstable                     │
124       └─────────────────────────────┴─────────────────────────────┘
125

SEE ALSO

127       fuser(1M), modinfo(1M), sysdef(1M), attributes(5)
128
129
130       Sun Hardware Platform Guide
131
132   SPARC Only
133       openprom(7D)
134

NOTES

136       The output of the prtconf command is highly dependent on the version of
137       the PROM installed in the system. The output will be affected in poten‐
138       tially all circumstances.
139
140
141       The driver not attached message  means  that  no  driver  is  currently
142       attached to that instance of the device. In general, drivers are loaded
143       and installed (and attached to hardware instances) on demand, and  when
144       needed,  and  may be uninstalled and unloaded when the device is not in
145       use.
146
147
148       On x86 platforms, the use of prtconf -vp provides a subset of  informa‐
149       tion  from prtconf -v. The value of integer properties from prtconf -vp
150       might require byte swapping for correct interpretation.
151
152
153
154SunOS 5.11                        13 Mar 2009                      prtconf(1M)
Impressum