Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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'

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You need to use sudo before your command.

sudo sysctl vm.swappiness=10

then type in your password

share|improve this answer
did not worked for me, I was using openVz vps – user01 Mar 2 '14 at 8:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.