[SOLVED] I can't kill process

Issues related to applications and software problems and general support
Post Reply
User avatar
kerogaz
Posts: 46
Joined: 2019/11/28 09:09:01

[SOLVED] I can't kill process

Post by kerogaz » 2021/07/12 07:09:13

Code: Select all

ps -xal | grep  9332
4     0    9332    9326  20   0      0     0 -      Z    pts/0      0:01 [yum] <defunct>
4     0   10411    9662  20   0  12136  1128 -      S+   pts/0      0:00 grep --color=auto 9332
What can I do? kill, killall , skill dont work


User avatar
kerogaz
Posts: 46
Joined: 2019/11/28 09:09:01

Re: I can't kill pocess

Post by kerogaz » 2021/07/12 07:37:28

Your link for Solaris
It's not here 9332

Code: Select all

 ps -ef | grep -v \ \ root | grep -v pts/ | grep defunct
rocky       5915    4054  0 08:41 tty2     00:00:00 [opera_autoupdat] <defunct>
rocky       7115    4054  0 09:03 tty2     00:00:00 [opera_autoupdat] <defunct>
rocky       8868    4054  0 09:38 tty2     00:00:00 [opera_autoupdat] <defunct>
rocky      11811    4054  0 10:20 tty2     00:00:00 [opera_autoupdat] <defunct>
This is only here

Code: Select all

ps -xal | grep  9332
4     0    9332    9326  20   0      0     0 -      Z    pts/0      0:01 [yum] <defunct>
4     0   12729    9662  20   0  12136  1156 -      S+   pts/0      0:00 grep --color=auto 9332
I can just reboot the system and it disappears. But I would like to know how to do this without rebooting. Sometimes a process cannot be killed, not because it is in some state, but because another, dependent, process is frozen, which does not allow the process to be killed.

User avatar
kerogaz
Posts: 46
Joined: 2019/11/28 09:09:01

Re: I can't kill process

Post by kerogaz » 2021/07/12 07:50:09

I should have killed process 9326 than

Code: Select all

kill -9 9662
Killed
[1]+  Killed                  sudo yum updat
e :lol: Now its all right :D

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: I can't kill pocess

Post by scottro » 2021/07/12 14:33:08

Thanks for coming back and letting us know. I will mark the thread [SOLVED].
New users should check the FAQ and Read Me First pages

Post Reply