I have a process with parent PID = 1.
The command kill -9 382
doesn't work. I am root.
What can I do?
root 382 1 0 07:29 ? 00:00:00 dsmrecall /ptstv/HVideo/2014/2014761/G201476100010007.mxf
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityThe owner of the process is root
hence you should execute the kill
command as user root
.
You can do it by running:
sudo kill -9 382
Or in two steps:
turn to be root
using one of the below options:
su -
sudo su -
sudo -i
kill
the process as user root
:
kill -9 382
su allows to run commands with a substitute user and group ID.
When called without arguments, su defaults to running an interactive
shell as root.
kill
returns? If there is none, then most likely the process isdefunc
. Unless you have any idea why that is, which seems unlikely, the simplest solution is to restart the system. I would be tempted to assume that another important relevant process was killed improperly.