[dundee] Question about TCP connections

Andrew Clayton andrew at digital-domain.net
Fri Jan 30 14:33:35 GMT 2004


On Fri, 2004-01-30 at 14:03, David R. Baird wrote:
> Hi all, 
> 
> I have 2 servers running Redhat 7.2, one at home, one in a server 
> farm somewhere. I've recently noticed that there are several 
> long-lived TCP connections between the machines. netstat -an 
> shows about half a dozen connections from the home machine, to 
> port 3306 (mysql) on the production server. I have no idea what 
> these are doing! 
> 
> My MRTG monitoring graphs show that these connections start early 
> in the morning, and last for several hours. I can't find anything 
> in the cron jobs that could be doing this. 
> 
> Any ideas on how I can identify the program that sets up these 
> connections? 
> 

as root, on the machine originating the connections, run, netstat -tunp

This will show what program is associated with the connection.


> Cheers, 
> 
> Dave.
> 


Andrew





More information about the dundee mailing list