May 092008
 


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 Responses to “How to display Processor information in Sun Solaris”

  1. Very good comprehensive information.
    Thanks.

  2. Good, useful article. Thank you.

  3. Thanks for the information =)

  4. good help thanks

  5. Good and explanatory answers.

  6. Many Thanks!

  7. Good info. – thanks

  8. usefull stuff – thanks

  9. Hi,

    Really its very informative

    thanks
    thangaraj

  10. Thanks a lot…..very useful info……..

  11. Good info. Thanks

  12. Helpful .. Thanxxxxxx

  13. Very useful infromation. Many Many Thanks!!!

  14. 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.

  15. Many thanks, it was very helpful in jogging my memory.

  16. 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 Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)