chiark
/
gitweb
/
~mdw
/
become
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
eddaf5f
)
Try to reduce the amount of `ps'ing done under OSF/1, because /dev/kmem
author
mdw
<mdw>
Thu, 23 Apr 1998 13:25:23 +0000
(13:25 +0000)
committer
mdw
<mdw>
Thu, 23 Apr 1998 13:25:23 +0000
(13:25 +0000)
seems very slow.
src/noise.c
patch
|
blob
|
blame
|
history
diff --git
a/src/noise.c
b/src/noise.c
index e9c2e44e8b40e3bfd522828a2da5c10d30121b6b..f316306d11b2ab3c9d4f55600654a1ba20b67221 100644
(file)
--- a/
src/noise.c
+++ b/
src/noise.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-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
*
*
* Collection of environmental noise
*
@@
-29,6
+29,10
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: noise.c,v $
/*----- 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.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 --- */
/* --- 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 --- */
/* --- Get our resource usage to see if that's at all interesting --- */