I need a shell script which will perform the following.
If I do a
ps -u username | grep Python
25863 ? 0:00 Python
where Python is a process running on my machine.
I need to check whether the process Python is running on my machine.
When It ends I need to perform some other script.The script should run to check
whether still the process "Python" is existing or not.
I think it is a simple do while loop where I am not able to getting it work.
.
Post your responses please
Murugs
If I do a
ps -u username | grep Python
25863 ? 0:00 Python
where Python is a process running on my machine.
I need to check whether the process Python is running on my machine.
When It ends I need to perform some other script.The script should run to check
whether still the process "Python" is existing or not.
I think it is a simple do while loop where I am not able to getting it work.
.
Post your responses please
Murugs