AIX:
1.查看top 10 的进程
ps aux | head -1 ; ps aux | sort -rn +3 | head -10
2. 查看某进程占用内存率
ps aux | head -1 ; ps aux | grep topas(进程名)
3.查看当前内存大小:svmon -G
ocs1@Route1$[/ztesoft/ocs/bin]svmon -G
size inuse free pin virtual
memory 65077248 53511902 11565346 10172115 47399962
pg space 9830400 899827
work pers clnt other
pin 8003192 0 2753 2166170
in use 47373649 0 6138253
PageSize PoolSize inuse pgsp pin virtual
s 4 KB - 53088414 899827 9851667 46976474
m 64 KB - 26468 0 20028 26468
因大小为4K 故总内存为65077248 * 4K = 260308992KB