process monitoring added in shell script