Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Wiki / Kb32

Kb32

Emulab FAQ: Using the Testbed: How can I get switch statistics (such as packet counts) for my experiment?

Emulab FAQ: Using the Testbed: How can I get switch statistics (such as packet counts) for my experiment?

We have a command called portstats that allows you access to some of the port counters on our switches. To use it, you'll need to ssh to users.emulab.net. 'portstats <proj> <exp>' will get you stats for all experimental interfaces in your experiment. Run 'portstats -h' to get a list of other options, such as different sets of stats.

Note that the numbers returned by portstats do not get reset between experiments.