On 8/1/05, Kennedy Clark hkclark@gmail.com wrote:
Does anyone know of a way to track TCP/IP traffic by TCP/UDP port and/or by process/daemon with CentOS? I know a variety of ways to track it in total (e.g., ifInOctets & ifOutOctets with SNMP), but I'm not sure how to be approach seeing traffic by application, port, or process.
How about http://www.ethereal.com/ ?
I believe that "out of the box" it just monitors everything, but you can create filters so it only looks for certain activities. Also, it can be a hog.
tcpdump is another similar tool.
Greg