Linux

LVM

anzeigen von pv jedes lv

lvm -o +devices

Cache Statistiken per device (ssd cache for hdd)

lvs -o lv_name,cache_read_hits,cache_read_misses,cache_write_hits,cache_write_misses

Background Shell/Screen

http://unix.stackexchange.com/questions/48002/problems-with-automatically-starting-screen-on-ssh-login

http://monkeypatch.me/blog/move-a-running-process-to-a-new-screen-shell.html


Picture/Video tools

mehr als ein Bild auf eine Größe bringen und evtl . beschneiden (Seitenverh. wird beibehalten)

mogrify -resize 960x720^ -gravity center -crop 960x720+0+0 *.jpg

Mehrere Bilder (Zeitraffer) zu einem Film verbinden:

ffmpeg -framerate 3 -pattern_type glob -i 'timelapse/*/*-3.jpg' 3.mp4

lwres als Resolver

für gleichzeitige Anfrage von Nameservern (im gegenatz zur glibc time, rotate variante) die bisherige resolv.conf kann witer beenutzt werden
lwresd installieren und starten

/etc/nsswitch.conf:
hosts: files lwres dns

keepalived für fallback/loadbalancing

https://blog.laimbock.com/2014/10/01/howto-setup-high-available-haproxy-with-keepalived/

resize root fs without reboot

http://unix.stackexchange.com/questions/226872/how-to-shrink-root-filesystem-without-booting-a-livecd/227318#227318

read only arch on raspberry for octoprint

https://gist.github.com/yeokm1/2331dfebf92fba03ed9f

Lost Place Dnssec

Linux