Originally posted by: aravinthsamy
This is regarding the CPU/Memory utilization mismatch sync between NMON and ps command in aix. In below output we can find that memory is 96% utilized in nmon. But while trying to find which are all the process utilizing this 96%memory, we are unable to get the exact utilization for this 96%memory utilization. We are using the below ps command to find the exact 96%memory utilizing process,it just shows 1% mem for db2sysc. Where to find the remaining 95% memory utilizing process...This is the case for CPU also. Please provide us the suggestions/commands to get exact Memory/CPUutilization which needs to sync with NMON and PS commands or any relevant commands.
NMON output for Memory
Physical PageSpace
¦% Used 96.0% 7.6%
¦% Free 4.0% 92.4%
¦MB Used 7681.6MB 620.0MB
¦MB Free 318.4MB 7572.0MB
¦Total(MB) 8000.0MB 8192.0MB
¦
---
Memory utilization using PS command
-
ps aux |head -1; ps aux |sort -rn +3
USER PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND
dbuser 909464 4.3 1.0 72616 59460 - A May 04 427:59 db2sysc 0
svcagent 979112 0.0 0.0 140 144 - A 00:00:40 0:00 sleep 86400
svcagent 975012 0.0 0.0 140 144 - A 11:48:15 0:00 sleep 30
svcagent 880728 0.0 0.0 792 828 - A 10:31:30 0:00 /bin/sh /usr/svc
svcagent 770108 0.0 0.0 11548 11556 - A 10:31:31 0:04 java -Xbootclass
svcagent 725000 0.0 0.0 108 112 - A 11:48:14 0:00 sleep 10
svcagent 700442 0.0 0.0 96 104 - A 10:31:31 0:00 /usr/svcagent/cm
svcagent 504054 0.0 0.0 772 440 - A Apr 27 0:00 /bin/sh /usr/svc
svcagent 499956 0.0 0.0 788 448 - A Apr 27 1:26 /bin/sh /usr/svc
svcagent 495858 0.0 0.0 772 420 - A Apr 27 0:46 /bin/sh /usr/svc
****************************
Regards,
Aravinth V
#AIX-Forum