0

How to change the swappiness of my 12.10 Ubuntu System from 60 to 10.

Getting response as permission denied:-

Steps - I am following are below:

neeta@neeta-desktop:~$ cat /proc/sys/vm/swappiness 60 neeta@neeta-desktop:~$ sysctl vm.swappiness=10 sysctl: permission denied on key 'vm.swappiness'

1 Answer 1

1

You need to use sudo before your command.

sudo sysctl vm.swappiness=10

then type in your password

1
  • 2
    did not worked for me, I was using openVz vps Mar 2, 2014 at 8:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .