Is a process running ?

Tim Fletcher
2003-07-28T09:20:19Z

Hi all,

i would like to write a simple shell script that checks for the existence of a certain programme, in this case python2.1. if the
programme is active, do nothing, if not, start it.

i did think of doing a ps -A |grep python2.1, but then i have no idea how to intergrate that in the shell script.

any ideas would be very welcome

Thanks & HAND
Tim