Try to reduce the amount of `ps'ing done under OSF/1, because /dev/kmem
authormdw <mdw>
Thu, 23 Apr 1998 13:25:23 +0000 (13:25 +0000)
committermdw <mdw>
Thu, 23 Apr 1998 13:25:23 +0000 (13:25 +0000)
seems very slow.

src/noise.c

index e9c2e44..f316306 100644 (file)
@@ -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
  *
 /*----- 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 --- */