[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No Swap



On Tue, Oct 04, 2005 at 08:32:16AM -0400, Hendrik Boom wrote:
> On Mon, Oct 03, 2005 at 11:15:03PM -0500, Kent West wrote:
> > Curtis Vaughan wrote:
> > 
> > > top - 20:35:11 up 58 min,  3 users,  load average: 0.28, 0.18, 0.11
> > > Tasks:  91 total,   1 running,  89 sleeping,   0 stopped,   1 zombie
> > > Cpu(s):  5.9% us,  1.6% sy,  0.0% ni, 92.1% id,  0.0% wa,  0.3% hi,
> > > 0.Mem:    256728k total,   247288k used,     9440k free,     3864k buffer
> > > Swap:        0k total,        0k used,        0k free,    70400k cached
> > >
> > >
> > > Why?
> > > What can I do to get my swap partition being used as swap?
> > >
> > >
> > If "swapon -s" doesn't show any swap being used, I'd try:
> > 
> > mkswap /dev/hda5
> > swapon -a
> 
> How much RAM do you have?  I don't think Linux uses swap until RAM starts
> to run out.  I have a gigabyte (should I say Gigibyte these days?) of
> RAM, and as far as I know, I've *never* used swap.
> 
Whether or not it is used, the output of "top" or "free" should show how 
much swap is available.


-- 
Violence is the last refuge of the incompetent.
		-- Salvor Hardin



Reply to: