How to determine if a Unix/Linux application is running