Tag: perl
Reinstalling list of GEMs on a new server
by Artur on Jan.26, 2010, under All, Sysadmin
When I have to migrate servers to new OS or reinstall list of gems on another box you can get a quite big list of gems to install. This post will describe how to do it “admin way” which basically means that whatever has to be done more than once should be scripted
(continue reading…)
Nagios check_file_age mod
by Artur on Dec.22, 2009, under Sysadmin
As I don’t think in seconds about time and more like hours days etc. I’ve added this small bit of code to Nagios check_file_age script to display age in days. I’m using this to check PID file age for service that needs daily/weekly restarts. (continue reading…)
Find what is eating your disk space using Perl
by Artur on Jul.22, 2009, under Sysadmin
A while ago I’ve wrote a small script which I use to pin down the directories and files which suck off the space from the hard drives, usually it’s some user leaving to big log files, unused project files etc. This script will help you find those files or directories fast.
(continue reading…)