<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">I need to dump the current in/out to a text file every 5 minutes. I already create script but the problem is mrtg provide output in a different value. Sometimes it is in kb/s. Sometimes it is in b/s. I need it to be fix. I need to sort the traffic by kb/s/ <br><br>See the ff:<br><br>RECENT OUTPUT<br><br>In&nbsp; &nbsp;&nbsp;&nbsp; 16.0 kb/s (0.0%)&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; <span style="font-weight: bold;">2824.0 b/s (0.0%)&nbsp; &nbsp;&nbsp;&nbsp; 5640.0 b/s (0.0%)&nbsp; --&gt; Need to be parse to kb/s</span><br>Out &nbsp;&nbsp;&nbsp; 417.9 kb/s (0.4%) &nbsp;&nbsp;&nbsp; 77.8 kb/s (0.1%) &nbsp;&nbsp;&nbsp; 140.0 kb/s (0.1%)<br><br>OUTPUT I WANT:<br><br>In&nbsp; &nbsp;&nbsp;&nbsp; 16.0 kb/s (0.0%)&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; <span style="font-weight: bold;">2.8 kb/s (0.0%)&nbsp;
 &nbsp;&nbsp;&nbsp; 5.6 kb/s (0.0%)</span><br>
Out &nbsp;&nbsp;&nbsp; 417.9 kb/s (0.4%) &nbsp;&nbsp;&nbsp; 77.8 kb/s (0.1%) &nbsp;&nbsp;&nbsp; 140.0 kb/s (0.1%)<br><br>Can anyone advise?<br><br><br>-- NELSON<br><br>
<br></div><br>
      <hr size="1"><FONT face=Arial size=-1> 
Basic black. Runway ready, or just run-of-the-mill?<br>Be a better fashionista<br>  
<a href="http://ph.answers.yahoo.com/dir/index;_ylt=AsCq4OcgSoQ9qZZdke2cnGhL5Qt.;_ylv=3?link=over&sid=396545144">Find out at Yahoo! Answers</a></FONT>
</body></html>