Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2001 23:06:17 +0300
From:      Alex Popa <razor@ldc.ro>
To:        questions@freebsd.org
Subject:   Is there a way to find out the number of bytes tx/rx on a net if?
Message-ID:  <20010427230617.A22579@ldc.ro>

next in thread | raw e-mail | index | archive | help
I am trying to write a small app for myself, that displays some var
graphs of the throughput on the network interfaces the machine has.

I am unable to find a way to get to the total number of bytes
sent/received via each interface... I can see that ifconfig only outputs
the number of packets sent/received.

Is there a way to get these statistics, w/o adding special rules to
ipfw/ipf and parsing their output?

Thanks for the help

	Alex

------------+------------------------------------------
Alex Popa,  |  "Artificial Intelligence is
razor@ldc.ro|         no match for Natural Stupidity"
------------+------------------------------------------
"It took the computing power of three C-64s to fly to the Moon.
It takes a 486 to run Windows 95. Something is wrong here."

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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