On Tue, Aug 15, 2006, Amos Shapira wrote about "Measuring network traffic of a particular program?": > Following some recent article about Skype's network load which isn't > consistent with my experience, I'd like to try to measure the network > traffic generated by my Skype process.
One thing you might want to try, which is much simpler than the ideas you suggested, is to use iptables: Run Skype, and then use iptables' "--pid-owner" or "--cmd-owner" option to add an iptables rule which will allow traffic from this process. Then use "iptables -nvL" to get the count of packets and bytes that passed through this rule. I haven't tried this approach, but according to the manual it should work (on a one CPU kernel). -- Nadav Har'El | Tuesday, Aug 15 2006, 21 Av 5766 [EMAIL PROTECTED] |----------------------------------------- Phone +972-523-790466, ICQ 13349191 |If I am not for myself, who will be for http://nadav.harel.org.il |me? If I am only for myself, who am I? ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]