Search Results

Search: Posts Made By: agp
37,561
Posted By agp
How to check for specific process running through shell
Hi
I want to check whether specific process is running or not through a shell script.
ps -ef | grep will tell me this, i tried this way in shell

cnt =`ps -ef| grep xyz | awk '{ END {print NR}}`...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 01:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy