General Middleware

Memory/CPU utilization in different Operating Systems

Linux


CPU >> top, cat /etc/cpuinfo

Memory >> top, cat /etc/meminfo

Solaris


CPU >> sar, sar -u 10 60, mpstat 10 60

Memory >> prstat -a -s size

AIX


CPU >> topas

Memory >> topas, lsattr -El mem0

Note : Past CPU data can be retrived using sar using the below commands:

LANG=C sar -A -dp  [[For today date data]] 
LANG=C sar -A -dp -f /var/log/sa/sa01 -s 12:00:00 -e 13:00:00  [[yesterday time period data]]

 

Leave a Reply

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