Total Pageviews

Tuesday, August 07, 2007

Gathering System Information on Solaris

Sometimes it is necessary to gather informations about a Solaris system one is working on, but there is no guy around to tell you the details. Here are a few commands you might want to try.


Processors
The psrinfo utility displays processor information. When run in verbose mode, it lists the speed of each processor
and when the processor was last placed on-line (generally the time the system was started unless
it was manually taken off-line).


/usr/sbin/psrinfo -pv


Status of processor 1 as of: 12/12/02 09:25:50
Processor has been on-line since 11/17/02 21:10:09.
The sparcv9 processor operates at 400 MHz,
and has a sparcv9 floating point processor.
Status of processor 3 as of: 12/12/02 09:25:50
Processor has been on-line since 11/17/02 21:10:11.
The sparcv9 processor operates at 400 MHz,
and has a sparcv9 floating point processor.



RAM
The prtconf utility will display the system configuration, including the amount of physical memory.

To display the amount of RAM:
/usr/sbin/prtconf | grep Memory
Memory size: 3072 Megabytes

No comments:

Post a Comment