When writing a Bash script, how would I check to see if a program is running? I want to run fetchmail from ppp.linkup but not if it's already running. Since I run ppp with the auto option, I have to kill fetchmail in ppp.linkdown so my internet doesn't connect every hour. Molte grazie.