Saturday, January 1, 2011

Physical memory Status on Solaris server

How to check physical memory on solaris?
# /usr/sbin/prtconf | grep Memory
or
check Total physical memory:
# prtdiag -v | grep Memory
# prtconf | grep Memory
or
check Free physical Memory:
# top (if available)
# sar -r 5 10
Free Memory=freemen*8 (pagesize=8k)
# vmstat 5 10
Free Memory = free
For swap:
# swap -s
# swap -l
SAMPLE OUTPUT OF #prtdiag -v
System Configuration: Sun Microsystems sun4u Sun Fire V440
System clock frequency: 183 MHZ
Memory size: 16GB
==================================== CPUs ==================================
E$ CPU CPU Temperature
CPU Freq Size Implementation Mask Die Amb. Status
Location
— ——– ———- ——————— —– —- —- ——
0 1281 MHz 1MB SUNW,UltraSPARC-IIIi 2.4 – – online
1 1281 MHz 1MB SUNW,UltraSPARC-IIIi 2.4 – – online
2 1281 MHz 1MB SUNW,UltraSPARC-IIIi 2.4 – – online
3 1281 MHz 1MB SUNW,UltraSPARC-IIIi 2.4 – – online

No comments:

Post a Comment