Knowledgebase

Portal Home > Knowledgebase > Articles Database > Extracting current Bandwidth usage


Extracting current Bandwidth usage




Posted by n3r0x, 07-26-2011, 08:18 PM
Hey, Im looking to extract current bandwidth usage from shell on FreeBSD without installing a Network monitoring app (using default networking tools) Any help would be greatly appreciated

Posted by relichost, 07-27-2011, 02:32 PM
Hi ifconfig and then write some scripts to extract the information from the output. Thanks

Posted by viGeek, 07-27-2011, 03:22 PM
You can try: iftop Can't recall if that's a base FreeBSD package, believe it is. Alternatively: cat /proc/net/dev Can give you some type of indication.

Posted by n3r0x, 07-27-2011, 03:50 PM
ifconfig doesn´t display usage on this server for some reason (might be a FreeBSD thing) fxp0: flags=8843 metric 0 mtu 1500 options=8 ether inet netmask 0xfffff800 broadcast media: Ethernet autoselect (100baseTX ) status: active already know about iftop.. but im not after installing a monitoring app on each server just to check current used upload transferspeed at a particular point (every 5min or so)..

Posted by tchen, 07-27-2011, 06:18 PM
This might help, its from munin's network monitoring scripts



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read


Language:

Contact us