From ae37bd458c92f9147140036b67007a85ed33aef9 Mon Sep 17 00:00:00 2001 From: mdw Date: Thu, 23 Apr 1998 13:25:23 +0000 Subject: [PATCH] Try to reduce the amount of `ps'ing done under OSF/1, because /dev/kmem seems very slow. --- src/noise.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/noise.c b/src/noise.c index e9c2e44..f316306 100644 --- a/src/noise.c +++ b/src/noise.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: noise.c,v 1.4 1998/02/20 17:52:32 mdw Exp $ + * $Id: noise.c,v 1.5 1998/04/23 13:25:23 mdw Exp $ * * Collection of environmental noise * @@ -29,6 +29,10 @@ /*----- Revision history --------------------------------------------------* * * $Log: noise.c,v $ + * Revision 1.5 1998/04/23 13:25:23 mdw + * Try to reduce the amount of `ps'ing done under OSF/1, because /dev/kmem + * seems very slow. + * * Revision 1.4 1998/02/20 17:52:32 mdw * Don't use `df' for noise gathering, because it gets upset when NFS * servers aren't responding. @@ -232,10 +236,7 @@ void noise_acquire(void) /* --- Try some commands which ask the outside world some questions --- */ - noise__shell("ps auxww"); - noise__shell("ps -ef"); - /* @noise__shell("df");@ -- irritates NFS */ - noise__shell("netstat -an"); + noise__shell("ps auxww || ps -ef; netstat -an"); /* --- Get our resource usage to see if that's at all interesting --- */ -- 2.11.0