Article View: comp.unix.programmer
Article #136process poll
From: Ian R Jenkins
Date: Mon, 27 Jul 1992 18:11
Date: Mon, 27 Jul 1992 18:11
21 lines
1091 bytes
1091 bytes
Hello UNIX Gurus. I use a Sun Sparc2 (SunOS 4.1.1), which is one of about 50 Sun workstations on a local area network. I am currently involved in a project which requires that only one instance of a particular process is actually executing anywhere on the lan at any given moment. Is there a function that I can use that will search all of the machines on a lan, checking to see if process "xyz" is running, and if so, return the hostname of the machine on which xyz is executing ??? Any help would be most welcome. Ian Jenkins -- "I'm not going to die, I've just bought a new pair of trousers" Havergal Brian, aged 92 Ian Jenkins JANET: irj@uk.ac.rl.inf Rutherford Appleton Laboratory, UUCP: ..!mcsun!ukc!rlinf!irj Chilton, Didcot, Oxon. OX11 0QX.
Technical Details
Message-ID:
<12641@hardy.rl.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!warwick!rlinf!tsuga!irjShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!warwick!rlinf!tsuga!irj From: irj@inf.rl.ac.uk (Ian R Jenkins) Newsgroups: comp.unix.programmer Subject: process poll Message-ID: <12641@hardy.rl.ac.uk> Date: 27 Jul 92 18:11:14 GMT Sender: news@inf.rl.ac.uk Organization: Rutherford Appleton Laboratory Lines: 21