X-Git-Url: https://git.distorted.org.uk/~mdw/become/blobdiff_plain/c758e6541ca05409b178dd9629e9337494c49890..b0ac4e9dbf14e2b02e8221b145d6c53cbb1f325a:/src/noise.c diff --git a/src/noise.c b/src/noise.c index d37daf5..f316306 100644 --- a/src/noise.c +++ b/src/noise.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: noise.c,v 1.3 1998/01/12 16:46:19 mdw Exp $ + * $Id: noise.c,v 1.5 1998/04/23 13:25:23 mdw Exp $ * * Collection of environmental noise * @@ -29,6 +29,14 @@ /*----- 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. + * * Revision 1.3 1998/01/12 16:46:19 mdw * Fix copyright date. * @@ -228,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"); - /* @noise__shell("netstat -a");@ -- takes too long */ + noise__shell("ps auxww || ps -ef; netstat -an"); /* --- Get our resource usage to see if that's at all interesting --- */