One of the things I preach about a lot is good monitoring of your
database servers; having tools in place to tell you both what
good looks like and when things go bad is critical for large
scale success. But sometimes you just need to monitor a momentary
process, where setting up a check in your normal monitoring
software is overkill. In these cases one tool that can help out
is the watch command.
Case in point, the other day I needed to back up a fairly large …