[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bandwidth measurement by process



[Please reply to this list only, and not to me.]

On Sun, 9 May 2010 09:20:36 +0200
Frederik Kriewitz <frederik@kriewitz.eu> wrote:

> On Sun, May 9, 2010 at 9:03 AM, Celejar <celejar@gmail.com> wrote:
> > Yeah, that's pretty much what I thought.  Well, I think that I'm going
> > to code something like this, unless someone else will point out that
> > it's already been done.
> 
> I don't know anything like this, but another approch to to this might
> be to use LD_PRELOAD and/or PTRACE to hook connect(), write() and
> read().

Thanks.  I had thought of this approach, too, but I have much more
confidence in my being able to correctly code a pcap application
than to mess with preloading.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


Reply to: