home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume11 / watcher / part01 / Support / Watcherfile < prev   
Encoding:
Text File  |  1987-09-27  |  936 b   |  25 lines

  1. (df -i | /usr/ucb/tail +2 | grep -v tmp) { 'df no tmp' }
  2.     1-9 filesystem%k 41-42 spaceused%d 64-65 inodesused%d 1-9 device%k:
  3.         spaceused 15%;
  4.         spaceused 0 89;
  5.         inodesused 15%;
  6.         inodesused 0 49.
  7. (df -i | /usr/ucb/tail +2 | grep tmp) { 'df tmp only' }
  8.     1-9 filesystem%k 41-42 spaceused%d 64-65 inodesused%d 1-9 device%k:
  9.         spaceused 0 89;
  10.         inodesused 0 49.
  11. (/usr/ucb/ruptime | fgrep -f /usr/local/lib/watcher/UnmHosts) { ruptime }
  12.     2 status%s 1 machine%k 7 loadav%d:
  13.         loadav 0 10;
  14.         status "up".
  15. (ps -aux | fgrep -v -f /usr/local/lib/watcher/Daemons | /usr/ucb/tail +2)
  16.   { 'ps with no daemons' }
  17.      9-14 pid%k  16-19 percentcpu%d  42-45 cputime%d:
  18.         cputime 0 10.
  19. (ps -ax | fgrep -f /usr/local/lib/watcher/Daemons | uniq -c) { 'daemon count' }
  20.     1 daemon_count%d 6 daemon_name%k:
  21.         daemon_count 0 1.
  22. (ps -aux | fgrep -f /usr/local/lib/watcher/Daemons ) { 'daemon ps' }
  23.      9-14 pid%k  16-19 percentcpu%d  42-45 cputime%d:
  24.         cputime 2.
  25.