network bitrate of a poll of processes

Dan Nelson dnelson at allantgroup.com
Mon May 26 15:16:16 UTC 2008


In the last episode (May 26), Mathieu Prevot said:
> Hi,
> 
> I would like to know the bitrate of a pool of child processes that use
> a network connection, how can I have something like netstat -w1
> provide but at the process level ?

If you can segregate them to their own UID, you can use an ipfw "count
ip from any to any uid 6666" rule to count the packets.  Another option
would be to jail them to a dedicated IP address and count traffic on
that IP.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-hackers mailing list