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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

is there any way to do some % swap

example i want to swap 2 % of my data to swap


is there any way i can swap some program

example i want to swap firefox , or any program

share|improve this question
The swap space is managed by the kernel, and I don't know of any utility to do what you ask. Also, the motivation for your question are not clear to me. – enzotib Dec 5 '11 at 6:57
up vote 3 down vote accepted

You can adjust the kernel's swappiness parameter (which doesn't really do what you're wanting), but that's about all you can do. Otherwise, the kernel just does what it deems best.

And, if you swap Firefox out entirely, you'd probably save time by just exiting it than waiting ages for swap.

share|improve this answer

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.