[Bro-Dev] #337: BroCtl's top has trouble with large values

Bro Tracker bro at tracker.icir.org
Wed Mar 30 14:36:04 PDT 2011


#337: BroCtl's top has trouble with large values
-------------------------+------------------------
  Reporter:  robin       |      Owner:  robin
      Type:  Problem     |     Status:  reopened
  Priority:  Normal      |  Milestone:  Bro1.6
 Component:  BroControl  |    Version:  git/master
Resolution:              |   Keywords:
-------------------------+------------------------
Changes (by leres):

 * status:  closed => reopened
 * resolution:  Merged =>


Comment:

 It turns out "rss" has the same problem:
 {{{
 File "/home/users/bro/bro-152/lib/broctl/BroControl/control.py", line
 589, in getTopOutput
    d["rss"] = int(p[2])
 ValueError: invalid literal for int(): 2.15063e+09
 }}}
 I'll attach a simple patch for this.

-- 
Ticket URL: <http://tracker.icir.org/bro/ticket/337#comment:2>
Bro Tracker <http://tracker.icir.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list