swappiness (Solved)

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
mahmood
Posts: 8
Joined: 23. May 2014, 07:42

swappiness (Solved)

Post by mahmood »

Guys,

How to set swappiness permanently to something other than the default 60. :?:
Last edited by mahmood on 6. Jun 2014, 09:20, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: swappiness

Post by gapan »

For example:

Code: Select all

sudo -i
echo 80 > /proc/sys/vm/swappiness
you can put the echo command in /etc/rc.d/rc.local to have it take effect at each boot.
Image
Image
mahmood
Posts: 8
Joined: 23. May 2014, 07:42

Re: swappiness

Post by mahmood »

Thanks boss :D
Post Reply