Is there a way to do this in Solaris?
For instance, suppose I run the following:
$ swap -l
swapfile dev swaplo blocks free
/dev/md/dsk/d501 85,501 16 16780208 16780208
$ swap -s
total: 3377368k bytes allocated + 519416k reserved = 3896784k used, 11011992k available
I can see 3896784k os swap is being used.
How can I tell which processes, if any, are swapped out?
Is there a way with pstack, truss, or any other way?
Thanks.