Solaris 2.7 Sparc , Ksh:
I have a script that checks for a process ID by grep a string from the output of the ps , depend on the existance of the process,it performs a specific action.
PID=`/usr/bin/ps -eo pid,comm,args | grep "process string" | /usr/bin/awk '{print $1}'`
The command...