Timeline for kill a group of processes with negative PID
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 14, 2017 at 23:58 | answer | added | phil294 | timeline score: 1 | |
Feb 20, 2014 at 16:11 | comment | added | Stéphane Chazelas |
It's not supposed to kill PID and all its child processes, it's supposed to kill all the processes of pgid PID . Use ps -j to see the process group ids.
|
|
Feb 20, 2014 at 15:28 | answer | added | fredo | timeline score: 6 | |
Mar 22, 2013 at 22:53 | history | edited | Gilles 'SO- stop being evil' |
edited tags
|
|
Mar 22, 2013 at 13:40 | comment | added | Totor |
Quoting the standard: If the first pid operand is negative, it should be preceded by "--" to keep it from being interpreted as an option. Also, using a negative number for the pid arg actually refers to the process group ID.
|
|
Mar 22, 2013 at 9:12 | vote | accept | SparedWhisle | ||
Mar 22, 2013 at 9:02 | history | edited | SparedWhisle | CC BY-SA 3.0 |
added 221 characters in body
|
Mar 22, 2013 at 5:44 | answer | added | Didi Kohen | timeline score: 2 | |
Mar 22, 2013 at 3:23 | answer | added | Runium | timeline score: 10 | |
Mar 22, 2013 at 2:36 | answer | added | user34720 | timeline score: 2 | |
Mar 22, 2013 at 1:58 | history | edited | SparedWhisle | CC BY-SA 3.0 |
added 102 characters in body
|
Mar 22, 2013 at 1:10 | history | asked | SparedWhisle | CC BY-SA 3.0 |