You could also count flows as you install them. Of course, whether this is useful depends on what flows you install. If you install very broad flows, you lose a lot of information.
You might also look at the host_tracker component which comes with POX, which attempts to track the hosts, which is a decent if imperfect proxy for counting users. There has actually been work on truly tracking USERS, by tracking e.g., social networking logins... I don't think the code for this has been posted, though. -- Murphy On Oct 21, 2013, at 9:13 AM, Alison Chan <[email protected]> wrote: > William Yu wrote this flow_stats module for pox: > https://github.com/hip2b2/poxstuff/blob/master/flow_stats.py And I > modified it so flow_stats can be called from the pox command line: > https://github.com/alis0nc/poxstuff/blob/master/flow_stats.py > > Cheers, > Alison > > On Mon, Oct 21, 2013 at 4:14 AM, Sayed Qaiser Ali Shah Shah > <[email protected]> wrote: >> Hello everybody, >> >> I am working with POX and mininet. What I want to do is to find number of >> active users i.e. how many users are sending and how many users are >> receiving data. Another thing I want to find is number of flows i.e. how >> many flows of different type are in progress, like how many http flows, how >> many ftp flows are there at that time. What functions can I use in pox to >> get number of users and number of different flows. >> Can anybody help me regarding this. >> > > > > -- > Alison Chan > [email protected] > +1 909 278 7753 > > Sedulously eschew obfuscatory hyperverbosity or prolixity.
