Re: 'mkswap' and 'swapon' 'swapoff' SOLVED!
- From: Johan Lindquist <spam@xxxxxxxxxxxxxx>
- Date: Wed, 5 Apr 2006 12:46:59 +0200
So anyway, it was like, 12:02 CEST Apr 05 2006, you know? Oh, and, yeah,
iforone was all like, "Dude,
I still have about 17MB 'physical' RAM free
No, you have just over 120MB free physical memory. Some of that is
being used for disk cache, since you're not using it for anything
else. If it's needed, it'll be made available before swap is used.
See the line just above the swap info below, it's a summary with disk
cache discounted.
~$ free
total used free shared buffers cached
Mem: 192264 175208 17056 0 11324 98872
-/+ buffers/cache: 65012 127252
Swap: 131064 0 131064
I guess the 'priority' option is ONLY useful if using the 'swapon
-a' or similar command in an /etc/rc script;
The priority is only used for ranking different swap partitions and/or
files. The one(s) with the lowest priority will be used first. Like
the manpage says, see 'man 2 swapon' if you want to know more.
Since you only have a single swap file, you can set the priority to
anything you like and it won't really make a difference.
hth.
--
Time flies like an arrow, fruit flies like a banana. Perth ---> *
12:40:07 up 1 day, 23:34, 1 user, load average: 0.00, 0.01, 0.00
Linux 2.6.16.1 x86_64 GNU/Linux Registered Linux user #261729
.
- Follow-Ups:
- Re: 'mkswap' and 'swapon' 'swapoff' SOLVED!
- From: Johan Lindquist
- Re: 'mkswap' and 'swapon' 'swapoff' SOLVED!
- References:
- 'mkswap' and 'swapon' 'swapoff'
- From: iforone
- Re: 'mkswap' and 'swapon' 'swapoff'
- From: iforone
- Re: 'mkswap' and 'swapon' 'swapoff'
- From: Schraalhans Keukenmeester
- Re: 'mkswap' and 'swapon' 'swapoff'
- From: Floyd L. Davidson
- Re: 'mkswap' and 'swapon' 'swapoff'
- From: iforone
- Re: 'mkswap' and 'swapon' 'swapoff'
- From: Schraalhans Keukenmeester
- Re: 'mkswap' and 'swapon' 'swapoff'
- From: iforone
- Re: 'mkswap' and 'swapon' 'swapoff'
- From: Keith Keller
- Re: 'mkswap' and 'swapon' 'swapoff'
- From: iforone
- Re: 'mkswap' and 'swapon' 'swapoff'
- From: Keith Keller
- Re: 'mkswap' and 'swapon' 'swapoff'
- From: iforone
- Re: 'mkswap' and 'swapon' 'swapoff' SOLVED!
- From: iforone
- 'mkswap' and 'swapon' 'swapoff'
- Prev by Date: Re: FREE WEBSITE plus 10EMAIL ADDRESSES
- Next by Date: Re: 'mkswap' and 'swapon' 'swapoff' SOLVED!
- Previous by thread: Re: 'mkswap' and 'swapon' 'swapoff' SOLVED!
- Next by thread: Re: 'mkswap' and 'swapon' 'swapoff' SOLVED!
- Index(es):
Relevant Pages
|