0
votes
1answer
276 views

Make my Ubuntu, use more swap than RAM

So, I have 786 MB RAM with 1.6 GB Swap. I want to increase the usage of swap. In other words, i want my Ubuntu to use more Swap than My RAM. Please Tell me, how to do it
0
votes
1answer
256 views

How to monitor swap activity on desktop in real time (preferrably separately for each swap device)

It would be informative to know in real-time the swap activity (number of reads and writes per minute or similar measure). I intend to use it with conky. I can gather similar statistics by vmstat or ...
0
votes
1answer
146 views

want to make swap file from my ubuntu live (on flash drive) to my main hard disk

Can any one tell me why the following order gave me unexpected number of arguments? >>>>> fallocate -l 6g /media/309AFD059AFCC87C/ubuntu live drive program files/6g.swap
3
votes
3answers
2k views

How to find text and replace that line if exists with terminal otherwise just append line to end

I want to put in sudo gedit /etc/sysctl.conf the one line vm.swappiness=10 which I sometimes change. By default this line doesnt exist so I use echo "vm.swappiness=10" | sudo tee -a /etc/sysctl.conf. ...
1
vote
2answers
2k views

“Cannot fork” error messages

This happens with many different programs from the terminal. Usually accompanied with some error message about not being able to allocate memory. When I try "free -m" this is the output: ...