ppid is in eproc now
authorMike Karels <karels@ucbvax.Berkeley.EDU>
Tue, 7 May 1991 07:03:05 +0000 (23:03 -0800)
committerMike Karels <karels@ucbvax.Berkeley.EDU>
Tue, 7 May 1991 07:03:05 +0000 (23:03 -0800)
SCCS-vsn: bin/ps/keyword.c 5.6

usr/src/bin/ps/keyword.c

index 81ba4aa..267be39 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)keyword.c  5.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)keyword.c  5.6 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/param.h>
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -102,7 +102,7 @@ VAR var[] = {
        {"pgid", "PGID", NULL, 0, evar, PIDLEN, EOFF(e_pgid), USHORT, PIDFMT},
        {"pid", "PID", NULL, 0, pvar, PIDLEN, POFF(p_pid),SHORT, PIDFMT},
        {"pmem", "", "%mem"},
        {"pgid", "PGID", NULL, 0, evar, PIDLEN, EOFF(e_pgid), USHORT, PIDFMT},
        {"pid", "PID", NULL, 0, pvar, PIDLEN, POFF(p_pid),SHORT, PIDFMT},
        {"pmem", "", "%mem"},
-       {"ppid", "PPID", NULL, 0, pvar, PIDLEN, POFF(p_ppid), SHORT, PIDFMT},
+       {"ppid", "PPID", NULL, 0, evar, PIDLEN, EOFF(e_ppid), SHORT, PIDFMT},
        {"pri", "PRI", NULL, 0, pri, 3},
        {"re", "RE", NULL, 0, pvar, 3, POFF(p_time), CHAR, "d"},
        {"rgid", "RGID", NULL, 0, evar, UIDLEN, EOFF(e_pcred.p_rgid),
        {"pri", "PRI", NULL, 0, pri, 3},
        {"re", "RE", NULL, 0, pvar, 3, POFF(p_time), CHAR, "d"},
        {"rgid", "RGID", NULL, 0, evar, UIDLEN, EOFF(e_pcred.p_rgid),