du -h /var/www/html/test | grep ^[0-9.]*G
Quanti watt consuma il tuo notebook ?
sudo apt-get install powertop dstat
Staccare il pc dall’alimentazione e:
dstat --time --power --battery --battery-remain 10
Aggiungere applet system monitor su Ubuntu 12.04 Unity
sudo add-apt-repository ppa:indicator-multiload/stable-daily
sudo apt-get update && sudo apt-get install indicator-multiload
Device or resource busy
Se mentre stai cancellando un file, ti appare questo errore: device or resource busy , con un comando puoi vedere quale servizio sta utilizzando quel file:
lsof +D /path
Convert video MTS to WMV
ffmpeg -i "/home/00064.MTS" -b 8500k -vcodec wmv2 -s 1024x576 -acodec wmav2 "/home/00064.wmv"
[Read More]