Show kernel processes as well.

From maintainer Sebastian Stark <seb@todesplanet.de>.
This commit is contained in:
naddy 2002-06-29 14:25:53 +00:00
parent 2462fb1df4
commit 6b6b35187d

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-pstree_c,v 1.1 2002/06/29 14:25:53 naddy Exp $
--- pstree.c.orig Sat Jun 29 16:18:57 2002
+++ pstree.c Sat Jun 29 16:19:12 2002
@@ -180,7 +180,7 @@ extern getargs(struct ProcInfo *, int, c
#elif defined(__NetBSD__) || defined(__OpenBSD__)
/* NetBSD contributed by Gary D. Duzan <gary@wheel.tiac.net> */
# 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
#else /* HP-UX, A/UX etc. */