Hi,
Originally question,
>We have a lot of PC's running a client/server application over SQL-Retriver
>and each PC starts a process on the server. Sometimes we need to kill such a
>process but we don't know which one to kill because they have the same name.
>Is there any way to trace a process to see from which PC it's connect too ?.
Thanks to,
Mike Iglesias <iglesias_at_draco.acs.uci.edu>
David Gadbois <gadbois_at_cyc.com>
"Lucien HERCAUD.PB_PARIS"_at_paribas.com
who gives me the solution.
Install the program lsof to list openfiles for a process.
e.g,
# lsof   -n|grep  'process' 
from this a can see if there is a open filedescripter between the client and
the server for a process.
lsof can be found at vic.cc.purdue.edu in pub/tools/unix/lsof 
and  probably from gatekeeper.dec.com 
Regards,
        /Joakim
+---------------------------------------------+-------------------------------+
| Joakim Hartikainen                          | Phone: +46 8 613 9000, 9315   |
| Ernst & Young, Sweden                       |                               |
| E-mail: Joakim.Hartikainen_at_ey.se            |                               |
+---------------------------------------------+-------------------------------+
Received on Wed Nov 08 1995 - 17:15:31 NZDT