X-Git-Url: https://git.distorted.org.uk/~mdw/become/blobdiff_plain/435d981e7ad1d836c249b23fa10e5a510013199e..e171c3bfa8c2ab0fe28c90f94b51cc75679863bc:/src/noise.c diff --git a/src/noise.c b/src/noise.c index 88b4de5..f316306 100644 --- a/src/noise.c +++ b/src/noise.c @@ -1,10 +1,10 @@ /* -*-c-*- * - * $Id: noise.c,v 1.2 1997/08/20 16:19:57 mdw Exp $ + * $Id: noise.c,v 1.5 1998/04/23 13:25:23 mdw Exp $ * * Collection of environmental noise * - * (c) 1997 EBI + * (c) 1998 EBI */ /*----- Licensing notice --------------------------------------------------* @@ -29,7 +29,18 @@ /*----- Revision history --------------------------------------------------* * * $Log: noise.c,v $ - * Revision 1.2 1997/08/20 16:19:57 mdw + * 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. + * + * Revision 1.2 1997/08/20 16:19:57 mdw * Fix test for `/dev/random' so that it doesn't close `stdin' if it fails! * * Revision 1.1 1997/08/07 09:45:26 mdw @@ -225,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 --- */