On 06/12/2011 07:46 AM, Anton Aylward wrote:
The 'swapon' command will tell me how much swap is being used.
Is there anything that will tell me what is using swap, what programs, processes etc are using it or what the contents of swap is?
You can tell how much is being used, but getting a breakdown of what is using swap is sort of an oxymoron. Swap is used to warehouse things that are not being uses, memory for programs that are not being run. If they were being run, they wouldn't be in swap. If a burst of high memory usage pushes inactive programs and work space to swap it will get paged back into main memory when it needs to run again. If it doesn't need to run, it might live out there on swap for a long time. More to the point, there is no need to worry about swap, or memory management in general on Linux. Its not windows, and it will use memory and swap to the best advantage. These days, if you see any significant swap usage you probably need more memory. Until you see massive io and sustained disk activity and top shows your swap space being gobbled up, and your machine gets slow, just don't worry about swap. -- Explain again the part about rm -rf / -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org