On 02/11/14 00:23, Ralph Corderoy wrote:
Hi Tim,
a more specific program for looking at the swap file.
Try
grep VmSwap /proc/*/status | sort -k2n
and see if it gives a clue what processes are using a lot. You might
want to run it when you don't think there's a problem to get some idea
what normally uses swap.
There's also smem(1), from package smem, that tries to apportion shared
memory that's swapped out amongst the processes; because of shared
pages it's not necessarily a simple figure per process.
Cheers, Ralph.
Thanks all, been having a play with smem and I seem to have found an
output* that gives me the info I need. Just need what ever is using the
swap file to do so, so I can hopefully catch what it is.
* mit@alorn:~$ smem -s swap -t -k -n
Tim
--
Next meeting: Bournemouth, Tuesday, 2014-11-04 20:00
Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/
New thread on mailing list: mailto:[email protected]
How to Report Bugs Effectively: http://goo.gl/4Xue