Swappiness...

Cameron Simpson cs at zip.com.au
Sat Mar 3 05:09:25 UTC 2007


On 02Mar2007 16:00, Mike McCarty <Mike.McCarty at sbcglobal.net> wrote:
| In an attempt to see what swappiness does to the performance
| of my machine, I tried setting it and experimenting. Well, I
| don't seem to be able to do that.
| 
| $ su -
| # cd /proc/sys/vm
| # cat swappiness
| 60
| # echo 40>swappiness
| # cat swappiness
| 60
[...]

Put a space before the ">". The syntax n>foo means direct file
descriptor n to the file foo. Example:

  ls 2>ls.err

which sends fd 2 (stderr) to "ls.err".
So try:

  echo 40 >swappiness

Cheers,
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

There is this special biologist word we use for 'stable'. It is 'dead'.
        - Jack Cohen




More information about the fedora-list mailing list