tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Joakim Hartikainen <Joakim.Hartikainen () ey ! se>
To: tru64-unix-managers
Subject: SUMMARY: Trace a IP connection ?
Date: Wed, 08 Nov 1995 15:18:33 +0000	[thread overview]
Message-ID: <96075325006528.tru64-unix-managers.marc@archive.invalid> (raw)

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@draco.acs.uci.edu>
David Gadbois <gadbois@cyc.com>
"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            |                               |
+---------------------------------------------+-------------------------------+

                 reply	other threads:[~1995-11-08 15:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox