info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Abandoned CVS server processes


From: Dan Peterson
Subject: Re: Abandoned CVS server processes
Date: Mon, 4 Mar 2002 15:47:20 -0800 (Pacific Standard Time)

On Mon, 4 Mar 2002, Stewart Brodie wrote:

> I did investigate modifying the cvs software to put the username and
> client IP address in its process name so we could see with 'ps' which
> client is involved with which server process

You don't need to go to all that trouble... just get "lsof" and run "lsof
-p <pid>" on the parent of the CVS process.  This should be the process
with a PPID of "inetd".

Among many other things, "lsof" will show open sockets and the format of
the output shows the client IP (or hostname) for the connection.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]