|
|
| Author |
Message |
RokleM
Joined: 13 Sep 2007 Posts: 9
|
Posted: Mon Nov 12, 2007 10:45 am Post subject: [SOLVED] Link percentages - no decimal |
|
|
In order to make it a little more user friendly, is there a way to round up or down the percentages on lines? I really don't need to know that 8.89% is used on a 10 gig link. 8 (or preferably 9) is sufficient.
Thanks. |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2132 Location: United Kingdom
|
Posted: Mon Nov 12, 2007 11:33 am Post subject: |
|
|
Not right now, but in 0.94 you can reformat the BWLABEL strings however you like so:
| Code: |
INBWLABELFORMAT {link:this:inpercent:%d}%
OUTBWLABELFORMAT {link:this:outpercent:%d}%
|
0.94 should be out in the next few days. |
|
| Back to top |
|
 |
RokleM
Joined: 13 Sep 2007 Posts: 9
|
Posted: Wed Nov 28, 2007 2:59 pm Post subject: |
|
|
I upgraded and typed in the code you listed. It appears to still display the full value. What am I missing?
Thanks. |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2132 Location: United Kingdom
|
Posted: Wed Nov 28, 2007 5:13 pm Post subject: |
|
|
It's actually INBWFORMAT and OUTBWFORMAT. Misremembered. Sorry.
It's in the CHANGES file, and a couple of places in the manual though. |
|
| Back to top |
|
 |
RokleM
Joined: 13 Sep 2007 Posts: 9
|
Posted: Thu Nov 29, 2007 9:37 am Post subject: |
|
|
| I found the typo in the document last night. Seems to do the trick. Thanks. |
|
| Back to top |
|
 |
|