Commit 3e0a4d6b authored by Robert Ricci's avatar Robert Ricci
Browse files

Added entry on portstats

parent 9f1671b5
......@@ -34,6 +34,8 @@
<li> <a href="#UTT-7">Are the nodes in my experiment backed up
<li> <a href="#UTT-Swapping">What is Swapping?</a>
<li> <a href="#UTT-8">How can I get switch statistics (such as packet
counts) for my experiment?</a>
<li> <a href="#HDS">Hardware setup</a>
......@@ -427,7 +429,25 @@
images. For that reason, you should not swap your experiment out
unless you make arrangements to save and restore any state you need.
<li><a NAME="UTT-8"></a>
<h3>How can I get switch statistics (such as packet counts) for my
We have a command called <code>portstats</code> that allows you access
to some of the port counters on our switches. To use it, you'll need
to ssh to <b></b>. '<code>portstats &lt;pid&gt;
&lt;eid&gt;</code>' will get you stats for all experimental interfaces in
your experiment. Run '<code>portstats -h</code>' to get a list of other
options, such as different sets of stats.
Note that the numbers returned by <code>portstats</code> do not get
reset between experiments.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment