Package: psmisc
Version: 22.21-2.1+b1
Severity: wishlist
File: /usr/bin/killall

User sees on man page:

       -g, --process-group
              Kill the process group to which the process belongs.   The  kill
              signal  is  only sent once per group, even if multiple processes
              belonging to the same process group were found.

User thinks: "Wow that's exactly what I want to do. I looked at all the
kill(1) related commands and finally found one that can do this!"

But then he discovers that he cannot simply give killall(1) a process ID
like the good old kill(1) command, he has to give a name!

He thinks "I just want to give the ID, which I happen to have. Names
open up a whole new can of worms."

Therefore please change

NAME
       killall - kill processes by name
to
       killall - kill processes by name or id (or in fact by file too,
       as I note with slashes you say.)

And at
SYNOPSIS
add --process-id PID

And do it even if there is some other command that can do -g.
I mean imagine a kill command that doesn't also accept PIDs !?

Reply via email to