Tuesday, September 18, 2007

How to view SWAP information on Linux

Here is a small utility I have used to check the amount of swap space on linux machines.

Generally you would like to have 1 to 1.5 times the amount of swap space as you have RAM.



On a linux machine you can check the swap values with the following command run from a command prompt.

swapon -s

Hope this helps.

See also: How to add a Swap Partition

3 comments:

Anonymous said...

this was helpful. thanks.

Anonymous said...

thanks :)

Zohan said...

Thanks.