Monday 28 April 2008

Check Sun Environment

How to check environment of machine SUN :

df -k = checking disk space and partition info
top = to see the most heavy process
sar 1 5 = to see the cpu idle rate
prstat = to see the memory usage
netstat -an |grep port_number = to check listening/open port of certain port_number
ps -ef|grep process_name = to check if a process is up

No comments: