home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / question / 15363 < prev    next >
Encoding:
Internet Message Format  |  1993-01-09  |  1.4 KB

  1. Path: sparky!uunet!cs.utexas.edu!uwm.edu!psuvax1!rutgers!uwvax!zazen!zazen!thomson
  2. From: thomson@zarda.macc.wisc.edu (Don Thomson)
  3. Newsgroups: comp.unix.questions
  4. Subject: Timeouts for remote commands
  5. Message-ID: <THOMSON.93Jan9123526@zarda.macc.wisc.edu>
  6. Date: 9 Jan 93 17:35:26 GMT
  7. Sender: news@macc.wisc.edu (USENET News System)
  8. Organization: University of Wisconsin Academic Computing Center
  9. Lines: 16
  10.  
  11. I'm having a problem with an Ultrix system whose system load is going through
  12. the roof on occasion, preventing logins or rsh's, but not actually crashing.
  13. I'm working on tracking down the source of the problem, and want to have
  14. another UNIX box catch this condition when it happens by running a cron job
  15. that periodically checks on its health.  The question is what tools to use to
  16. test whether the machine has gone off the deep end.  A ping is low-level
  17. enough that it is successful even when the machine has gone haywire.  A rsh
  18. will time out if a machine is not running, but will just hang forever with
  19. this machine when its having problems.  Is there a way to set a timeout period
  20. for rsh so that I could use that in a script to check the other machine?  Are
  21. there other suggestions for tools to use to just check and see if the machine
  22. is responding?
  23. --
  24.  
  25. ----- Don Thomson ----- MACC, 1210 W. Dayton, Madison, WI  53706 -------------
  26.     (608) 262-0138      thomson@macc.wisc.edu / thomson@wiscmacc.bitnet
  27.