home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!jabaru.cec.edu.au!csource!gateway
- From: Russell.Coker@f362.n633.z3.fidonet.org (Russell Coker)
- Newsgroups: comp.unix.questions
- Subject: Determining the state of a process on another host
- Message-ID: <725483430.AA06113@csource.oz.au>
- Date: Tue, 22 Dec 1992 15:08:06
- Sender: gateway@csource.oz.au
- Lines: 14
-
- we> I'm currently writing a client-server application that uses BSD
- we> sockets to communicate. At certain stages in the processing I
- we> want to be able to determine whether the client process is
- we> running/alive. If the client is running on the same machine I
- we> can just do a kill(..,0), but if the client is running on another
- we> machine - what do I do then ?? I have the hostname, the remote pid,
- we> the username and the remote tty-name available on the server. Is
- we> there any way of doing a remote kill(...,0) ??
-
- Couldn't you do an "RSH remote-host -l login-name 'kill(...,0)'"?
-
- cya
-
- * Origin: MBUG BBS - Melbourne 'Bee Users Group. 7395238 (Quick 3:633/362)
-