Friday, July 17, 2015

Debian goodies, literally

Today I've learned about a nice little package called debian-goodies, https://packages.debian.org/jessie/debian-goodies

Once installed it will add a few commands to the system of which I've found "checkrestart" to be amazing useful. It will tell you which running processes need a restart so that you don't need to restart your whole machine. Here's the man page for it http://manpages.debian.org/cgi-bin/man.cgi?query=checkrestart

Speaking of restarting the machine, if you want to know if you should restart it because of an upgrade or something, you should perform a "ls /var/run/reboot-required". If output is 0 well, restart time :)

Back on debian-goodies, there's also the dpigs command which will tell you who uses the most space of the installed packages (it doesn't include the files that the app(s) from that package will generate but still useful)

No comments :