home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / programm / 3934 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.0 KB

  1. Path: sparky!uunet!mcsun!uknet!warwick!rlinf!tsuga!irj
  2. From: irj@inf.rl.ac.uk (Ian R Jenkins)
  3. Newsgroups: comp.unix.programmer
  4. Subject: process poll
  5. Message-ID: <12641@hardy.rl.ac.uk>
  6. Date: 27 Jul 92 18:11:14 GMT
  7. Sender: news@inf.rl.ac.uk
  8. Organization: Rutherford Appleton Laboratory
  9. Lines: 21
  10.  
  11. Hello UNIX Gurus. 
  12. I use a Sun Sparc2 (SunOS 4.1.1), which is one of about 50 Sun workstations
  13. on a local area network. I am currently involved in a project which requires
  14. that only one instance of a particular process is actually executing anywhere
  15. on the lan at any given moment. Is there a function that I can use that
  16. will search all of the machines on a lan, checking to see if process "xyz" is
  17. running, and if so, return the hostname of the machine on which xyz is
  18. executing ??? Any help would be most welcome.
  19.  
  20. Ian Jenkins
  21.  
  22.  
  23. --
  24.  
  25.     "I'm not going to die, I've just bought a new pair of trousers"
  26.  
  27.                 Havergal Brian, aged 92
  28.  
  29. Ian Jenkins                JANET:    irj@uk.ac.rl.inf
  30. Rutherford Appleton Laboratory,        UUCP:    ..!mcsun!ukc!rlinf!irj
  31. Chilton, Didcot, Oxon. OX11 0QX.
  32.