Koozali.org: home of the SME Server

Swap disk (file)

Bernt

Swap disk (file)
« on: August 05, 2003, 12:22:31 AM »
Hi!

I'm running out of diskspace on My SME server. Only 500MB left. Can I use it all or do the system need it for swap? Other Linux system I haved installed have a fixed size for the swap.

Regards
/Bernt

Dan Brown

Re: Swap disk (file)
« Reply #1 on: August 05, 2003, 12:27:57 AM »
SME, like any other recent Linux distribution I've seen, uses a separate partition for swap.

Bernt

Re: Swap disk (file)
« Reply #2 on: August 05, 2003, 12:58:51 AM »
Ok, thanks for the reply. Is there a way to see how big the swap partition is?

Nathan Fowler

Re: Swap disk (file)
« Reply #3 on: August 05, 2003, 01:33:19 AM »
df -h

Lasse Johansson

Re: Swap disk (file)
« Reply #4 on: August 05, 2003, 11:00:23 AM »
df -h wont show any information about your swap area, I think...

Try

swapon -s

instead....


Regards
Lasse

Nathan Fowler

Re: Swap disk (file)
« Reply #5 on: August 05, 2003, 06:13:00 PM »
Lasse, you're absolutely right.  I could have sworn df did, but I just tried and it doesn't.  I must have been thinking of "free -m" which displays free/used/cached memory and swap information.

Thanks for the correction.

Bernt

Re: Swap disk (file)
« Reply #6 on: August 06, 2003, 12:10:51 AM »
Thanx!
They are all useful commands. :-)
Anyway, what happens if I use all free space on the HD?