<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Zhang,<div class=""><br class=""></div><div class="">"Usage" is not a parameter you can simply get.  You can only measure / estimate it.  One way to do this is to use ndn::L3Tracer (<a href="http://ndnsim.net/2.2/metric.html" class="">http://ndnsim.net/2.2/metric.html</a>), which gives you an approximate value of usage for Interest, data, and other portions for each face.  For overall usage, you would just need to sum up those.</div><div class=""><br class=""></div><div class="">There are other ways to do this, but all of them include some sort of measurements.</div><div class=""><br class=""></div><div class="">If you just want to visually check, you can use the visualizer module (though it may not be trivial to make it work).</div><div class=""><br class=""></div><div class="">--</div><div class="">Alex</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 7, 2016, at 1:46 AM, ZHANG, Lu <<a href="mailto:lu.zhang@fuji.waseda.jp" class="">lu.zhang@fuji.waseda.jp</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi all,<div class=""><br class=""></div><div class="">I would like to get the current link bandwidth usage of a specified link(not the maximum capability) and return it. Are there any existing functions to do this?</div><div class=""><br class=""></div><div class="">Thanks in advance.</div><div class=""><br class=""></div><div class="">Regards,</div><div class=""><br class=""></div><div class="">Zhang Lu</div></div></div></blockquote><br class=""></div><br class=""></div></body></html>