Quick Tips

Quick Tip: Managing Linux Processes

Quick tip on managing linux processes, I always end up asking myself this and having to research how to do such things. So here are some quick tips to help you manage your linux processes. This is all done in bash, I’m not sure what is different with the other shells so ymmv.

Here is my sample script, just something that doesn’t end right away so I can use it for proof of concept:

#!/bin/bash
while [ 1 ]
do
        date
        echo "Sleeping 5 seconds"
        sleep 5
done

Sending a process to the background

› Continue reading

Tags:

Thursday, May 14th, 2009 Linux, Quick Tips, System Administration No Comments