Supporting library build

This commit is contained in:
Mohamed Boussaffa
2016-03-04 20:45:10 +08:00
parent b0083a256a
commit c6ceac7bf8
4 changed files with 115 additions and 117 deletions

View File

@@ -183,8 +183,8 @@ void NethogsMonitor::handleUpdate()
u_int32_t recv_bytes;
float sent_kbs;
float recv_kbs;
getkbps (curproc->getVal(), &sent_kbs, &recv_kbs);
gettotal (curproc->getVal(), &recv_bytes, &sent_bytes);
curproc->getVal()->getkbps (&sent_kbs, &recv_kbs);
curproc->getVal()->gettotal (&recv_bytes, &sent_bytes);
if( monitor_udpate_callback )
{