0

Im interested in system-wide network load information per interface.

Target platforms are linux and windows.

UPD Right answer is libpcap.

magras
  • 1,709
  • 21
  • 32
  • SNMP is the means to access the data, various implementations on Windows and Linux are available to provide it. A choice of SNMP APIs is available to program to, SNMP++ might be convenient in C++. – Steve-o Jan 28 '13 at 16:25

2 Answers2

0

You can start for example using zabbix. Another type of tools is related to Bandwidth Monitoring Tools For Linux. Also, take a look on Monitoring Tools Web Based, and Cacti seems to be a good solution.

Mihai8
  • 3,113
  • 1
  • 21
  • 31
  • This solutions are linux only. But tcpstat based on libpcap, that has windows port. So, its may help. Thanks. – magras Jan 28 '13 at 13:00
  • These are tools not C++ APIs, more of an answer for superuser.com or serverfault.com – Steve-o Jan 28 '13 at 16:26
0

If you can use Qt the answer is here. It looks like you don't need the GUI part of the library. Qt is totally cross platform and very well supported and documented.

Another possibility is Boost.Asio if you can use boost.

The boost and POCO are mentioned in stackoverflow.

You might want to look at old SO questions in future.

Community
  • 1
  • 1
emsr
  • 15,539
  • 6
  • 49
  • 62