Hi all,

I get the following out put from vmstat 30:

procs memory swap io system
cpu
r b w swpd free buff cache si so bi bo in cs us
sy id
0 0 0 972100 93688 4556 105128 4 8 21 40 14 68 12
22 66
0 0 0 966616 89924 4588 106140 37 0 40 44 575 39 16
2 83
1 0 0 957812 86132 4632 106924 83 0 85 86 599 62 18
2 80
0 0 0 956228 82520 4716 108288 23 0 28 121 541 39 13
1 86
1 0 0 953456 75896 4772 109140 79 0 80 107 583 65 13
1 86

I'd like to know which specific PID's are being swapped into memory in
the above output. I've searched the newsgroups and the best I come up
with is to find out which processes are the memory hogs. Is there a way
to get specific info on which processes have been swapped in/out in the
last x seconds?

I'm surprised this system is doing any swapping at all. It seems to have
plenty of memory.
cat /proc/meminfo gives me the following:
total: used: free: shared: buffers: cached:
Mem: 518082560 441966592 76115968 0 5345280 171782144
Swap: 1077501952 974475264 103026688
MemTotal: 505940 kB
MemFree: 74332 kB
MemShared: 0 kB
Buffers: 5220 kB
Cached: 109200 kB
SwapCached: 58556 kB
Active: 277036 kB
Inact_dirty: 127148 kB
Inact_clean: 9472 kB
Inact_target: 82728 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 505940 kB
LowFree: 74332 kB
SwapTotal: 1052248 kB
SwapFree: 100612 kB
Committed_AS: 1434344 kB


Any help is appreciated,

Mark.