So I'm executing a command like:
COMMANDNAME -PARAMETERS
But..why can't I kill it with "pkill"? I'm trying with:
pkill -9 "COMMANDNAME -PARAMETERS"
but it doesn't kills the "COMMANDNAME -PARAMETERS" process. Why?
|
|
|
If you need to match the full command line (command + parameters) as you reported in your example you will have to use the
accordingly to the man page:
|
|||
|
|
|
From the man page:
So the "commandname -parameters" is not matching. What you should have is just:
|
|||
|
|