prtconf
Maintenance Commands prtconf(1M)NAME
prtconf - print system configurationSYNOPSIS
SPARC /usr/sbin/prtconf [ -V ] | [ -F ] | [ -x ] | [ -vpPD ] IA /usr/sbin/prtconf [ -V ] | [ -x ] | [ -vpPD ]DESCRIPTION
The prtconf command prints the system configuration informa- tion. The output includes the total amount of memory, and the configuration of system peripherals formatted as a dev- ice tree.OPTIONS
The following options are supported: -D For each system peripheral in the device tree, displays the name of the device driver used to manage the peripheral. -F (SPARC only). Returns the device path name of the con- sole frame buffer, if one exists. If there is no frame buffer, prtconf returns a non-zero exit code. This flag must be used by itself. It returns only the name of the console, frame buffer device or a non-zero exit code. For example, if the console frame buffer on a SPARCstation 1 is cgthree in SBus slot #3, the command returns: /sbus@1,f80000000/cgthree@3,0. This option could be used to create a symlink for /dev/fb to the actual console device. -p Displays information derived from the device tree pro- vided by the firmware (PROM) on SPARC platforms or the booting system on IA platforms.The device tree infor- mation displayed using this option is a snapshot of the initial configuration and may not accurately reflect reconfiguration events that occur later. -P Includes information about pseudo devices. By default, information regarding pseudo devices is omitted. -v Specifies verbose mode. -V Displays platform-dependent PROM on(SPARC platforms) or booting system on(IA platforms) version informa- tion. This flag must be used by itself. The output is a string. The format of the string is arbitrary and platform-dependent. SunOS 5.8 Last change: 8 Aug 2000 1 Maintenance Commands prtconf(1M) -x Reports if the firmware on this system is 64-bit ready. Some existing platforms may need a firmware upgrade in order to run the 64-bit kernel. If the operation is not applicable to this platform or the firmware is already 64-bit ready, it exits silently with a return code of zero. If the operation is applicable to this platform and the firmware is not 64-bit ready, it displays a descriptive message on the standard output and exits with a non-zero return code. The hardware platform documentation contains more information about the platforms that may need a firmware upgrade in order to run the 64-bit kernel. This flag overrides all other flags and must be used by itself. EXAMPLES Example 1: Running prtconf on a SPARC Sun4/65 Series Machine Running prtconf on a Sun4/65 series machine produces the following sample output: example% prtconf System Configuration: Sun Microsystems sun4c Memory size: 16 Megabytes System Peripherals (Software Nodes): Sun 4_65 options, instance #0 zs, instance #0 zs, instance #1 fd (driver not attached) audio (driver not attached) sbus, instance #0 dma, instance #0 esp, instance #0 sd (driver not attached) st (driver not attached) sd, instance #0 sd, instance #1 (driver not attached) sd, instance #2 (driver not attached) sd, instance #3 sd, instance #4 (driver not attached) sd, instance #5 (driver not attached) sd, instance #6 (driver not attached) le, instance #0 cgsix (driver not attached) auxiliary-io (driver not attached) interrupt-enable (driver not attached) memory-error (driver not attached) counter-timer (driver not attached) eeprom (driver not attached) pseudo, instance #0 SunOS 5.8 Last change: 8 Aug 2000 2 Maintenance Commands prtconf(1M) Example 2: Running prtconf on an IA Machine Running prtconf on an IA machine produces the following sam- ple output: example% prtconf System Configuration: Sun Microsystems i86pc Memory size: 32 Megabytes System Peripherals (Software Nodes): i86pc eisa, instance #0 kd, instance #0 ata, instance #0 cmdk, instance #0 aha, instance #0 cmdk, instance #1 (driver not attached) cmdk, instance #2 (driver not attached) cmdk, instance #3 (driver not attached) cmdk, instance #4 (driver not attached) cmdk, instance #5 (driver not attached) cmdk, instance #6 (driver not attached) cmdk, instance #7 chanmux, instance #0 asy, instance #0 asy, instance #1 elx, instance #0 elx, instance #1 (driver not attached) elx, instance #2 (driver not attached) elx, instance #3 (driver not attached) fdc, instance #0 fd, instance #0 fd, instance #1 options, instance #0 objmgr, instance #0 pseudo, instance #0 example% EXIT STATUS The following exit values are returned: 0 No error occurred. non-zero With the -F option (SPARC only), a non-zero return value means that the output device is not a frame buffer. With the -x option, a non-zero return value means that the firmware is not 64-bit ready. In all other cases, a non-zero return value means that an error occurred. SunOS 5.8 Last change: 8 Aug 2000 3 Maintenance Commands prtconf(1M)ATTRIBUTES
See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Availability | SUNWesu (32-bit) | |_____________________________|_____________________________| | | SUNWesxu (64-bit) | |_____________________________|_____________________________|SEE ALSO
modinfo(1M), sysdef(1M), attributes(5) Sun Hardware Platform Guide SPARC Only openprom(7D)NOTES
The output of the prtconf command is highly dependent on the version of the PROM installed in the system. The output will be affected in potentially all circumstances. The driver not attached message means that no driver is currently attached to that instance of the device. In gen- eral, drivers are loaded and installed (and attached to hardware instances) on demand, and when needed, and may be uninstalled and unloaded when the device is not in use. SunOS 5.8 Last change: 8 Aug 2000 4