Linux process check

we ran into an issue where SNMP couldn't return the whole process string. so we created this handy dandy perl script to reach out through SSH and check to see if the process was running through ps -ef, you can pull anything out of there that you need, just change the arg1 to what you want to look for.