JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Administration: Common Tasks     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information

About This Book

1.  Locating Information About Oracle Solaris Commands

2.  Managing User Accounts and Groups (Overview)

3.  Managing User Accounts and Groups (Tasks)

4.  Booting and Shutting Down an Oracle Solaris System

5.  Working With Oracle Configuration Manager

6.  Managing Services (Overview)

7.  Managing Services (Tasks)

8.  Using the Fault Manager

9.  Managing System Information (Tasks)

What's New in Displaying and Changing System Information

Support for Administratively Provided driver.conf Files

Displaying System Information (Task Map)

Displaying System Information

How to Display a System's Release Information

How to Display a System's Host ID Number

How to Display a System's Product Name

How to Display a System's Installed Memory

How to Display Default and Customized Property Values for a Device

How to Display the Date and Time

Identifying Information About Chip Multithreading Features

How to Display a System's Physical Processor Type

How to Display a System's Logical Processor Type

Changing System Information (Task Map)

Changing System Information

How to Manually Set a System's Date and Time

How to Set Up a Message-Of-The-Day

How to Change a System's Identity (nodename)

10.  Managing System Processes (Tasks)

11.  Monitoring System Performance (Tasks)

12.  Managing Software Packages (Tasks)

13.  Managing Disk Use (Tasks)

14.  Scheduling System Tasks (Tasks)

15.  Setting Up and Administering Printers by Using CUPS (Tasks)

16.  Managing the System Console, Terminal Devices, and Power Services (Tasks)

17.  Managing System Crash Information (Tasks)

18.  Managing Core Files (Tasks)

19.  Troubleshooting System and Software Problems (Tasks)

20.  Troubleshooting Miscellaneous System and Software Problems (Tasks)

Index

Displaying System Information

The following table describes commands that enable you to display general system information.

Table 9-1 Commands for Displaying System Information

Command
System Information Displayed
Man Page
date
Date and time
hostid
Host ID number
isainfo
The number of bits supported by native applications on the running system, which can be passed as a token to scripts
isalist
Processor type for x86 based systems
prtconf
System configuration information, installed memory, device properties, and product name
psrinfo
Processor type
uname
Operating system name, release, version, node name, hardware name, and processor type

How to Display a System's Release Information

How to Display a System's Host ID Number

Example 9-1 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. For more information about this feature, see the prtconf(1M) man page.

Example 9-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

Example 9-3 Displaying a System's Installed Memory

The following example shows sample output from the prtconf command. The grep Memory command 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 prtconf command with the -u option. For more information about this option, see the prtconf(1M) man page.

Example 9-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
.
.
.

See Also

For more information, see the driver(4) and driver.conf(4) man pages.

For instructions on how to create administratively provided configuration files, see Chapter 5, Managing Devices (Overview/Tasks), in Oracle Solaris Administration: Devices and File Systems.

How to Display the Date and Time

Example 9-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.

For more information, see the psrinfo(1M) man page.

For information about the procedures that are associated with this feature, see How to Display a System's Physical Processor Type.

How to Display a System's Physical Processor Type

How to Display a System's Logical Processor Type

Example 9-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 9-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