Below is the script I have that generates 180320.tar file
cat Bckup.sh tar -X ./exclude.txt -cf /backup/180320.tar ./1043 gzip /backup/180320.tar
While this script was running, I force deleted the 180320.tar file.
After three days, I still see these processes running and I'm not able to kill them.
ps -ef | grep 180320.tar | grep -v grep user1 19923182 1 0 Mar 18 - 0:01 gzip /backup/180320.tar user1 6619518 1 0 Mar 18 - 0:01 tar -X ./exclude.txt -cvf /backup/180320.tar ./10203 user1 14811460 1 0 Mar 18 - 0:01 gzip /backup/180320.tar user1 21758806 1 0 Mar 18 - 0:01 gzip /backup/180320.tar
I tried killing them:
kill -9 19923182 6619518 14811460 21758806
The kill command succeeds, but the ps command continues to show these processes.
When I tried the truss command it failed like below:
truss -p 6619518 truss: 0915-023 Cannot control process #6619518.
Also, the fd folder does not have these processes:
cd /proc/fd/6619518 ksh: /proc/fd/6619518: not found.
I understand these could be zombie processes but can I get rid of them without a system reboot?
Can you please suggest how can I get the ps command not to show these processes as running? Maybe the ps command is caching old data?