PDA

View Full Version : swap partition?



A. Jorge Garcia
06-18-2007, 07:02 PM
HI!

Whenever I knoppix-installer a new PC, I always run qtparted first to set up dual partitions (hda1=wimpdoze, hda2=knoppix) and a swap partition.

My question is, how do I know that I set up the swap properly? Is there someway to see if its being used and what percentage of it is loaded at any given time?

TIA,
AJG

kirol
06-18-2007, 09:16 PM
"swapon -s" will list the status of your swap partition(s)
"vmstat" or even "top" will mention swap usage (but probably not the details if you've got several partitions)
There are probably GUI equivalent but this should get you going ;-)

A. Jorge Garcia
06-18-2007, 09:56 PM
OK, thanx a lot! I give that a try.

Regards,
AJG

A. Jorge Garcia
06-19-2007, 06:26 PM
DOH! Why didn't I think of top???

Thanx,
AJG