zaxxon,
not every segment in AIX memory has a corresponding process.
The real command to look, what lays in paging space is something like:
svmon -S -O sortseg=pgsp -t 20
-S
shows all memory segments, -O sortseg=pgsp
sorts them, showing first the segments which have most pages in the paging space, -t 20
shows only first 20 segments.
This is an example from a system, which pages right now:
$ lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum
hd6 hdisk0 rootvg 8192MB 24 yes yes lv 0
$ svmon -S -O sortseg=pgsp -t 20
Unit: page
Vsid Esid Type Description PSize Inuse Pin Pgsp Virtual
8f61ff - work mmap paging sm 0 0 65024 65024
86078c - work sm 127 4 64405 64451
838405 - work mmap paging sm 762 0 64336 65024
820fc6 - work mmap paging sm 2521 0 62703 64770
847dc9 - work mmap paging sm 13881 0 54286 64032
825b45 - work sm 24 0 14056 14075
8c97db - work sm 224 4 10339 10475
8000 - work page table area s 6916 43 6873 6916
81de02 - work sm 3362 0 4965 6645
82dd04 - work sm 2491 0 4285 5952
8d4e5b - work sm 65 4 3694 3747
8e841d - work sm 535 0 3473 3677
8c9f59 - work sm 603 0 2611 2791
820b66 - work sm 287 0 2588 2619
8c58f9 - work sm 3443 0 2428 3497
884951 - work mmap paging sm 8192 0 2186 8192
8c1b3a - work sm 48 4 2082 2101
825965 - work m 4096 0 124 4096
1001 - work other kernel segments m 149 0 123 235
8d001a - work m 194 0 115 272
As you see, all the segments are "work" segments and some of them has "long" Vsids (virtual segment IDs), such as 8f61ff, but some of them has "short" Vsid, such as 8000. Those with long IDs are probably associated with some processes. You can look at them using the following command:
$ svmon -S 8f61ff -lrj
Vsid Esid Type Description PSize Inuse Pin Pgsp Virtual
8f61ff - work mmap paging s 0 0 65024 65024
m 0 0 0 0
Addr Range: 0..65534
pid(s)=12058694
The last string contains pid, which you can then find with ps -ef
:
$ ps -ef | grep [1]2058694
root 12058694 16973956 0 Feb 01 - 320:07 /opt/ibm/node/bin/node /kibana/src/cli
If you look at a segment with short Vsid, you will not see any pid:
$ svmon -S 8000 -lrj
Vsid Esid Type Description PSize Inuse Pin Pgsp Virtual
8000 - work page table area s 6916 43 6873 6916
Addr Range: 0..8703
System segment
It is a system segment and it has no corresponding process. Sometimes they can grow very big and in this case it is not an application problem, but server's configuration problem.