Another recommendation for nmon. Learn the hotkeys in it and you can get a wealth of info, including process memory usage. svmon, however, is more purpose-built for your desired use, and is endorsed as the proper solution on this IBM official page: Help - AIX 7.1 Information Center
I was trying to show changes in th PgSp column - as that is what you are looking for.
Code:
root@x134:[/]svmon -S -t 10 -O filterprop=data,sortentity=pgsp -i 5
Unit: page
Vsid Esid Type Description PSize Inuse Pin Pgsp Virtual
2002 - work kernel heap m 2136 1098 0 2136
8002 - work kernel segment m 583 527 0 583
e000 - work mbuf pool m 526 526 0 526
a100 - work kernel heap m 402 205 0 402
9000 - work other kernel segments m 338 0 0 338
7405d - work other kernel segments s 5120 5120 0 5120
854015 - work m 206 0 0 206
14005 - work other kernel segments s 2152 0 0 2152
d001 - work other kernel segments m 114 0 0 114
80c2a3 - work s 1388 0 0 1388
Unit: page
Vsid Esid Type Description PSize Inuse Pin Pgsp Virtual
2002 - work kernel heap m 2136 1098 0 2136
8002 - work kernel segment m 583 527 0 583
e000 - work mbuf pool m 526 526 0 526
a100 - work kernel heap m 402 213 0 402
9000 - work other kernel segments m 338 0 0 338
7405d - work other kernel segments s 5120 5120 0 5120
854015 - work m 206 0 0 206
14005 - work other kernel segments s 2152 0 0 2152
d001 - work other kernel segments m 114 0 0 114
80c2a3 - work s 1388 0 0 1388
root@x134:[/]
Use a larger number than 5 (seconds) - in a real situation I would use at least 60.
So, once you see some regular changes in the PgSp column then you have the segment ID. Use svmon -P to capture everything to a file and then find the process(es) that are using that segment.
(also try having the vmstat -I -w NN running in the background to watch for pi/po activity as well.)
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (6 Replies)
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (1 Reply)
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (0 Replies)
I do have a friend who have this script already but lost it. Can you please help to give me a script that can capture the closed_wait on the stack and identify which process using it. I am thinking of using netstat and rmsock. (2 Replies)
Hi ,
I have 8Gb memory in my JS21 server. When I run svmon it shows 3655Mb memory is utilized and 4344Mb free. I have configured 8Gb paging space and 14% is utilized which is 1Gb. I dont have memory issues but just want to know Why 1gb paging is utilized when my almost 4Gb real memory is free?... (6 Replies)
Hi,
I have paging size 2048M showed from topas and 10240M showed from "lsps -a", can anyone tell what is the difference? and how to change the PAGING SIZE (showed in topas) to 8192M?
Can you please tell in detail step?
Thanks!
Victor
#topas
Topas Monitor for host: egsprc01dev ... (10 Replies)
This is my first post, and I am new to the UNIX world. Hopefully this question won't be too lame.
I know that I can use topas to see the paging space used by some processes. I would like to script something that can add up the paging space used by process owned by or associated with an... (1 Reply)