2009-05-10 10:54:22 -04:00
|
|
|
$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);
|
2006-07-14 01:17:18 -04:00
|
|
|
* (Net|Open|Free)BSD & Darwin merged by Ralf Meyer <ralf AT thp.Uni-Duisburg.DE>
|
|
|
|
*/
|
2002-06-29 10:25:53 -04:00
|
|
|
# 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
|
2006-07-14 01:17:18 -04:00
|
|
|
# define PSVARSN 5
|