i want to do a program for checking the process whether is running or not. firstly i got one file call as process.csv, inside the content is look like below..
PROEXE PRONAME
/process/tmp/kckoh/app1;app;
/process/tmp/kckoh/app2;app2;
/process/tmp/kckoh/app3;app3;
and the app.c file locate in /process/tmp/kckoh/app1 directory
so now i need is to read this process.csv file and execute the "app" through the shell script to check whethe is running or not, if the process is not running, it will send a email alert to the user email...
anyone can help me?:o