How to display Processor information in Sun Solaris


Sun solaris has various different utilities to find the processor information on your hardware. Let’s have a look at the different utilities that can display the processor informations and the way they display information.

Using psrinfo

psrinfo displays more detailed information of the Processors including the number of Physical processors on the system and the number of virtual processors on the system. Each virtual processor is in its own a seperate entity.

Run psrinfo as root without arguments gives a quick summary of the processors with its IDs and the time since online.

# which psrinfo
/usr/sbin/psrinfo

sunsolaris# psrinfo
0       on-line   since 05/09/2008 19:41:32

For a more detailed output use the verbose option. This gives much more detailed information including processor type, operating speed etc for every available processor.

sunsolaris# psrinfo -v
Status of virtual processor 0 as of: 05/09/2008 20:05:34
  on-line since 05/09/2008 19:41:32.
  The i386 processor operates at 2000 MHz,
        and has an i387 compatible floating point processor.
       
Using prtiag

This can once again give a summarised information on the processor version and its ID.

sunsolaris# which prtdiag
/usr/sbin/prtdiag

sunsolaris# prtdiag
System Configuration: VMware, Inc. VMware Virtual Platform
BIOS Configuration: Phoenix Technologies LTD 6.00 04/17/2006

==== Processor Sockets ====================================

Version                          Location Tag
——————————– ————————–
Pentium(R) Pro                   CPU socket #0

…..
….

Using prtconf

Based on the installed drivers, you can find the information on the CPUs on the system.

sunsolaris# which prtconf
/usr/sbin/prtconf

sunsolaris#prtconf
System Configuration:  Sun Microsystems  i86pc
Memory size: 512 Megabytes
System Peripherals (Software Nodes):

..

cpus (driver not attached)
      cpu, instance #0 (driver not attached)

Not much information on my solaris 10 system running on a virtual server.

17 thoughts on “How to display Processor information in Sun Solaris”

  1. There are a few more utilties for determining the architecture and supported software of the current system in addition to prtdiag/prtconf and psrinfo: arch, isainfo/isalist, mach, and of course uname.

  2. Can somebody tell me how to display CPU speed of SPARC t4-4, I used psrinfo command but OS not supported:

    bash-3.00# psrinfo -pv
    psrinfo: Physical processor view not supported

    prtdiag -v displayed 1.290 Mhz while my CPU speed is 3.0GHz

    Thanks in advance,

    Duong Nguyen

Leave a Comment

Your email address will not be published. Required fields are marked *