openbsd-ports/sysutils/pstree/patches/patch-pstree_c
naddy 6b6b35187d Show kernel processes as well.
From maintainer Sebastian Stark <seb@todesplanet.de>.
2002-06-29 14:25:53 +00:00

13 lines
606 B
Plaintext

$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. */