Am Mo, den 01.08.2005 schrieb Kennedy Clark um 15:05: > 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. > > One option would be to write something that would sift through > different stuff for each daemon (for example, with apache, you could > add up all the bytes sent by summing up the values in 'access_log'), > but I was hoping for a more centralized method that would work the > same for all daemons and/or ports. > > One approach I have though about is using iptables... "iptables -L -n > -v" gives detail on packets and byte counts by ACL entry. Does anyone > have any experience with any tools that grab this info and > graph/report on it? > KC ipag-ng and mrtg http://sourceforge.net/projects/ipac-ng (http://martybugs.net/linux/ipac.cgi) http://www.saas.nsw.edu.au/solutions/ipac-2-mrtg.html Alexander -- Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773 legal statement: http://www.uni-x.org/legal.html Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp Serendipity 15:14:23 up 16 days, 19:46, load average: 0.28, 0.24, 0.19 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Dies ist ein digital signierter Nachrichtenteil Url : http://lists.centos.org/pipermail/centos/attachments/20050801/e67a78fc/attachment.bin