A little tool to help you with a Linux distribution upgrade (like apt-get dist-upgrade
).
-
checkprocs
- a self-containted script to check whether we have the same processes running before and after an upgrade. -
checkprocs.t
- tests to verify thecheckprocs
script.
Just download the script and run it. Something like:
wget https://raw.githubusercontent.com/jreisinger/checkprocs/master/checkprocs && chmod u+x checkprocs
./checkprocs -h
To test checkprocs
(ex. when you are a developer adding new features)
manually:
[perlbrew exec] prove checkprocs.t
For more (about modulinos) see Testing a Perl Script post. Also Oliver's redis_memtop looks interesting.
I wrote this tool while upgrading my $employer's servers.