Solaris 11 – How to Display Solaris System Information
How to Display a System’s Release Information
- Display the contents of the /etc/release file to identify your release version.
$ cat /etc/release Oracle Solaris Nevada Next Development snv_146 x86 Copyright (c) 2010, Oracle and/or its affiliates. All Rights Reserved. Assembled 29 July 2010
How to Display a System’s Host ID Number
- To display the host ID number in hexadecimal format, use the hostid command.
Example Displaying a System’s Host ID Number
The following example shows sample output from the hostid command.
$ hostid 80a5d34c
How to Display a System’s Product Name
The -b option to the prtconf command enables you to display a system’s product name.
- To display the product name for your system, use the prtconf command with the -boption, as follows:
$ prtconf -b
Example 2 Displaying a System’s Product Name
This example shows sample output from the prtconf -b command.
$ prtconf -b name: SUNW,Sun-Fire-T200 banner-name: Sun Fire T200 compatible: 'sun4v'
This example shows sample output from the prtconf -vb command.
$ prtconf -vb name: SUNW,Sun-Fire-T200 banner-name: Sun Fire T200 compatible: 'sun4v' idprom: 01840014.4f1de8da.00000000.1de8dade.00000000.00000000.00000000.00000000 openprom model: SUNW,4.30.4.a openprom version: 'OBP 4.30.4.a 2010/01/06 14:56'
How to Display a System’s Installed Memory
- To display the amount of memory that is installed on your system, use the prtconfcommand.
Example 3 Displaying a System’s Installed Memory
The following example shows sample output from the prtconf command. The grep Memorycommand selects output from the prtconf command to display memory information only.
$ prtconf | grep Memory Memory size: 65408 Megabytes
How to Display Default and Customized Property Values for a Device
To display both the default and customized property values for devices, use the prtconfcommand with the -u option.
- Display the default and customized properties of a driver.conf file.
$ prtconf -u
The output of the prtconf -u command displays the default and customized properties for all of the drivers that are on the system.
Example 4 Displaying Default
This example shows the default and custom properties for the bge.conf file. Note that vendor-provided configuration files are located in the /kernel and /platform directories, while the corresponding modified driver configuration files are located in the /etc/driver/drv directory.
$ prtconf -u
. . . pci108e,534d (pci14e4,16a7), instance #0 System software properties: name='bge-known-subsystems' type=int items=16 name='bge-rx-rings' type=int items=1 value=00000010 name='bge-tx-rings' type=int items=1 value=00000002 <---- system merged value 2 Admin global properties: name='bge-tx-rings' type=int items=1 value=00000002 <---- admin value is 2 Vendor global properties: name='bge-tx-rings' type=int items=1 value=00000001 <---- vendor value is 1 . . .
How to Display the Date and Time
- To display the current date and time according to your system clock, use the datecommand.
Example 5 Displaying the Date and Time
The following example shows sample output from the date command.
$ date Mon Sep 13 17:32:59 MST 2010 $
Identifying Information About Chip Multithreading Features
The psrinfo command has been modified to provide information about physical processors, in addition to information about virtual processors. This enhanced functionality has been added to identify chip multithreading (CMT) features. The new -p option reports the total number of physical processors that are in a system. Using the psrinfo -pv command will list all the physical processors that are in the system, as well as the virtual processors that are associated with each physical processor. The default output of the psrinfo command continues to display the virtual processor information for a system.
How to Display a System’s Physical Processor Type
- Use the psrinfo -p command to display the total number of physical processors on a system.
$ psrinfo -p 1
Use the psrinfo -pv command to display information about each physical processor on a system, and the virtual processor that is associated with each physical processor.
$ psrinfo -pv The UltraSPARC-IV physical processor has 2 virtual processors (8, 520) The UltraSPARC-IV physical processor has 2 virtual processors (9, 521) The UltraSPARC-IV physical processor has 2 virtual processors (10, 522) The UltraSPARC-IV physical processor has 2 virtual processors (11, 523) The UltraSPARC-III+ physical processor has 1 virtual processor (16) The UltraSPARC-III+ physical processor has 1 virtual processor (17) The UltraSPARC-III+ physical processor has 1 virtual processor (18) The UltraSPARC-III+ physical processor has 1 virtual processor (19)
When you use the psrinfo -pv command on an x86 based system, the following output is displayed:
$ psrinfo -pv The i386 physical processor has 2 virtual processors (0, 2) The i386 physical processor has 2 virtual processors (1, 3)
How to Display a System’s Logical Processor Type
- Use the psrinfo -v command to display information about a system’s processor type.
$ psrinfo -v
On an x86 based system, use the isalist command to display the virtual processor type.
$ isalist
Example 6 SPARC: Displaying a System’s Processor Type
This example shows how to display information about a SPARC based system’s processor type.
$ psrinfo -v Status of virtual processor 28 as of: 09/13/2010 14:07:47 on-line since 04/08/2010 21:27:56. The sparcv9 processor operates at 1400 MHz, and has a sparcv9 floating point processor. Status of virtual processor 29 as of: 09/13/2010 14:07:47 on-line since 04/08/2010 21:27:56. The sparcv9 processor operates at 1400 MHz, and has a sparcv9 floating point processor.
Example 7 x86: Displaying a System’s Processor Type
This example shows how to display information about an x86 based system’s processor type.
$ isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
1 Response
[…] Read – How to Display Solaris System Information […]