From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075325006528.tru64-unix-managers.marc@archive.invalid> From: Joakim Hartikainen Date: Wed, 08 Nov 1995 15:18:33 +0000 To: tru64-unix-managers Subject: SUMMARY: Trace a IP connection ? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075325006528 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 David Gadbois "Lucien HERCAUD.PB_PARIS"@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@ey.se | | +---------------------------------------------+-------------------------------+