0edcf75b94
mostly from Rodolfo Gouveia
13 lines
578 B
Plaintext
13 lines
578 B
Plaintext
$OpenBSD: patch-pstree_c,v 1.3 2009/05/10 14:54:22 jasper Exp $
|
|
--- pstree.c.orig Sun May 10 16:49:43 2009
|
|
+++ pstree.c Sun May 10 16:51:27 2009
|
|
@@ -71,7 +71,7 @@ extern getargs(struct ProcInfo *, int, char *, int);
|
|
* (Net|Open|Free)BSD & Darwin merged by Ralf Meyer <ralf AT thp.Uni-Duisburg.DE>
|
|
*/
|
|
# define HAS_PGID
|
|
-# define PSCMD "ps -axwwo user,pid,ppid,pgid,command"
|
|
+# define PSCMD "ps -kaxwwo user,pid,ppid,pgid,command"
|
|
# define PSFORMAT "%s %ld %ld %ld %[^\n]"
|
|
# define PSVARS P[i].name, &P[i].pid, &P[i].ppid, &P[i].pgid, P[i].cmd
|
|
# define PSVARSN 5
|