Timeline for How to list only non-<defunct> processes?
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Feb 3, 2021 at 20:28 | history | suggested | emallove | CC BY-SA 4.0 |
ps outputs in space-aligned tabular format, so there might be whitespace before the PID in the output table (add chars to get over 5-char quota)
|
| Feb 3, 2021 at 18:56 | review | Suggested edits | |||
| S Feb 3, 2021 at 20:28 | |||||
| Aug 14, 2012 at 0:23 | review | Low quality posts | |||
| Aug 18, 2012 at 5:49 | |||||
| May 23, 2011 at 13:41 | comment | added | Peter.O |
sed and grep are pretty much the same in this situation... I'm actually looking for a single step option to ps or pgrep (or similar) which only outputs "active" processes... Post filtering like this relies on a full understanding of the intial output, which I don't have... eg. [gnuserv] <defunct> took me conpletely by surprise (what other surprises can I expect?..
|
|
| May 23, 2011 at 13:05 | history | answered | Cédric Julien | CC BY-SA 3.0 |