Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/systat g/c SDEAD handling
details: https://anonhg.NetBSD.org/src/rev/a8ea2ac0a9b8
branches: trunk
changeset: 557550:a8ea2ac0a9b8
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sun Jan 11 19:15:50 2004 +0000
description:
g/c SDEAD handling
diffstat:
usr.bin/systat/pigs.c | 6 +++---
usr.bin/systat/ps.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 00ca39ed2469 -r a8ea2ac0a9b8 usr.bin/systat/pigs.c
--- a/usr.bin/systat/pigs.c Sun Jan 11 19:05:26 2004 +0000
+++ b/usr.bin/systat/pigs.c Sun Jan 11 19:15:50 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pigs.c,v 1.25 2003/08/07 11:16:00 agc Exp $ */
+/* $NetBSD: pigs.c,v 1.26 2004/01/11 19:15:50 jdolecek Exp $ */
/*-
* Copyright (c) 1980, 1992, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)pigs.c 8.2 (Berkeley) 9/23/93";
#endif
-__RCSID("$NetBSD: pigs.c,v 1.25 2003/08/07 11:16:00 agc Exp $");
+__RCSID("$NetBSD: pigs.c,v 1.26 2004/01/11 19:15:50 jdolecek Exp $");
#endif /* not lint */
/*
@@ -213,7 +213,7 @@
time = k->p_swtime;
/* XXX - I don't like this */
if (k->p_swtime == 0 || (k->p_flag & L_INMEM) == 0 ||
- k->p_stat == SZOMB || k->p_stat == SDEAD)
+ k->p_stat == SZOMB)
*pctp = 0;
else
*pctp = ((double) k->p_pctcpu /
diff -r 00ca39ed2469 -r a8ea2ac0a9b8 usr.bin/systat/ps.c
--- a/usr.bin/systat/ps.c Sun Jan 11 19:05:26 2004 +0000
+++ b/usr.bin/systat/ps.c Sun Jan 11 19:15:50 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ps.c,v 1.24 2003/05/17 21:03:21 itojun Exp $ */
+/* $NetBSD: ps.c,v 1.25 2004/01/11 19:15:50 jdolecek Exp $ */
/*-
* Copyright (c) 1999
@@ -45,7 +45,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: ps.c,v 1.24 2003/05/17 21:03:21 itojun Exp $");
+__RCSID("$NetBSD: ps.c,v 1.25 2004/01/11 19:15:50 jdolecek Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -338,7 +338,7 @@
static char timestr[10];
/* XXX - I don't like this. */
- if (kp->p_stat == SZOMB || kp->p_stat == SDEAD) {
+ if (kp->p_stat == SZOMB) {
secs = 0;
psecs = 0;
} else {
Home |
Main Index |
Thread Index |
Old Index