Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Nov 2008 05:08:23 +1100
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Cihangir Besiktas <cihangir@akademi.enderunix.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Measuring processes' bandwidth usage
Message-ID:  <20081126180822.GF51761@server.vk2pj.dyndns.org>
In-Reply-To: <20081126074819.74241.qmail@istanbul.enderunix.org>
References:  <20081126074819.74241.qmail@istanbul.enderunix.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--vvRocJ6whMXXNc9q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Cihangir,

On 2008-Nov-26 09:48:19 +0200, Cihangir Besiktas <cihangir@akademi.enderuni=
x.org> wrote:
>I am planning to develop a project, and in this project, there must be a=
=20
>module that outputs all the processes' bandwidth usage. How can I handle a=
=20
>process' bandwidth usage? I am looking forward to your advices.=20

Can you explain further what you mean by a "processes' bandwidth
usage".  The process-related information collected by the kernel is
listed in getrusage(2).  You might also like to look at ktrace(1,2).
I suspect you may need to modify the kernel to capture the information
you are looking for.

--=20
Peter Jeremy
Please excuse any delays as the result of my ISP's inability to implement
an MTA that is either RFC2821-compliant or matches their claimed behaviour.

--vvRocJ6whMXXNc9q
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkktkJYACgkQ/opHv/APuIc4ZACaA3o7aKjBIt4dGoxy1bCp4nfQ
A04AnjA4jciWbrbuqN/UqUV7hMJ2Wsbq
=7EEJ
-----END PGP SIGNATURE-----

--vvRocJ6whMXXNc9q--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081126180822.GF51761>