Who knows, it’s like a black art, but one way is to use svmon. For example, find the PID of the suspect process and use

svmon -P [pid] -m

This might give you something like:

-------------------------------------------------------------------------------
     Pid Command          Inuse      Pin     Pgsp  Virtual 64-bit Mthrd  16MB
  286902 java           1797187     8249     4657  1671072      Y     Y     N
 
     PageSize      Inuse        Pin       Pgsp    Virtual
     s   4 KB    1789587       8201       4657    1663472
     m  64 KB        475          3          0        475

… lots of stuff snipped …

Add up Inuse, Pin, Pgsg and Virtual to get a figure. It won’t be exact, but might be relative enough for troubleshooting.

So, in this case, 1797187 + 8249 + 4657 + 1671072 = 3481165k = 3399.5M = 3.32G.

About troyski

I'm a freelance UNIX engineer working in the UK. I'm married to Tina and between us we have six children. I'm a bit of an Apple fan boy, and all the Windows machines in the house are a thing of the past now.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation