Is it up?

This absurdly simple script can really come in handy.

It is ideal to be run from a cron job. By hand editing the script you can modify it to check to make sure a program you've written is running. If it's not running, you can execute a command, either to alert you or to run it again.

Much more complicated and powerful solutions to this problem exist, but I have had use for just such a simple and precise solution as this. You can also use it with just a telnet account and basic user priveleges.

Back to Code Page