git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9e4063
)
syntax error. fixed.
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Wed, 20 Aug 2008 23:20:30 +0000
(23:20 +0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Wed, 20 Aug 2008 23:20:30 +0000
(23:20 +0000)
bwmon.py
patch
|
blob
|
history
diff --git
a/bwmon.py
b/bwmon.py
index
20efaae
..
4651e0c
100644
(file)
--- a/
bwmon.py
+++ b/
bwmon.py
@@
-330,7
+330,7
@@
class Slice:
params['class'] = "high bandwidth"
params['bytes'] = format_bytes(usedi2bytes - self.i2bytes)
params['limit'] = format_bytes(self.Maxi2KByte * 1024)
- params['new_maxexemptrate'] = bwlimit.format_tc_rate(new_max
i2
rate)
+ params['new_maxexemptrate'] = bwlimit.format_tc_rate(new_max
exempt
rate)
message += template % params
logger.log("bwmon: ** %(slice)s %(class)s capped at %(new_maxrate)s/s " % params)