Thursday 19 December 2013

Firefox and backspace

Under Linux the backspace button in Firefox will do nothing on default. I find that very annoying, because I'm not very much of a mouser. I prefer the backspace to perform a page back action. To make this happen, do the following:

Type "about:config" in the address bar of Firefox and press Enter. Filter for "browser.backspace_action" and change its value to 0 (zero).

0 is for page back
1 is for page up
2 is for doing nothing


Managing LVM

You are using LVM and running out of disk space? Check if you still have some left and increase space if you can.

First check used space
df -h 

Check available space in LV:
vgdisplay 

Check LV layout:
lvs 

Increase space for example on var:
lvresize -L +3GB /dev/VG01/LV_VAR
resize2fs -p /dev/VG01/LV_VAR 

Check
lvs df -h

Be happy

Load average

When I was just a little boy I started working with Linux. Sometimes I checked load averages with top and look at the fancy numbers. Now the magic is gone and I can actually understand what I'm seeing. But load average has always been a little fuzzy to me. Yesteryear I would go berserk on a load over 1.00 and had some head-banging moments to find out what was wrong. With the introduction of multiprocessing and multicore systems load average can be well over 1.00 and isn't a real problem, as long as it stays under the total number of cores.

Well explained by Andre: http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages