kbps to KBps

  • Binoy

    Binoy - 2011-08-25

    I wish to change the graph x axis so that the values are in kilo BYTES per second instead of Kilo bits per second. The config file does not seem to have any option for that.

  • Alestan

    Alestan - 2011-08-25

    How you go about doing that depends on how you are storing the data and generating the graphs.  If you have bandwidthd generating the graphs as it watches traffic, I believe you will need to change the graphing section in bandwidthd.c, dividing the numbers by 8 and changing the scale on the left is all you should need to do.  Then recompile.  If you have a database backend and are using the php scripts inside of phphtdocs through apache2 or some similar web server, then you should edit phphtdocs/graph.php; again, just divide the numbers by 8, but no need to recompile.

  • Alestan

    Alestan - 2011-08-25

    Oops!  I told you the graphing section was in  bandwidthd.c, but it isn't.  It's in graph.c.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks