Hi Everyone
I like to use the ps command to check if some processes are still running of script requests handled by apache. I notice after the execution of these requests the processes will still show in the output for more then 20 seconds.
executed:
output:
As long as the request runs the running time is changed. As soon as the request is finished the running time stops. All fine so far. However the process keeps showing in this list for a while, but the execution is finished. Why is that?
As newbie I would think after execution of the request the process has come to an end and is terminate. Therefor it should also be removed from the ps command output as its no longer a process. Why does it stay there after there execution? Were is the mistake in my thinking pattern?
Thanks Abstract
I like to use the ps command to check if some processes are still running of script requests handled by apache. I notice after the execution of these requests the processes will still show in the output for more then 20 seconds.
executed:
Code:
ps -p 53770 | grep 53770
output:
Code:
53770 ?? S 0:05.71 /usr/sbin/httpd -k start -DSSL
As long as the request runs the running time is changed. As soon as the request is finished the running time stops. All fine so far. However the process keeps showing in this list for a while, but the execution is finished. Why is that?
As newbie I would think after execution of the request the process has come to an end and is terminate. Therefor it should also be removed from the ps command output as its no longer a process. Why does it stay there after there execution? Were is the mistake in my thinking pattern?
Thanks Abstract