Browse code

Add --tcp option to dstat command for connection stats

This enables tcp stats (listen, established, syn, time_wait, close) in
dstat to allow us to get a high-level view of performance changes in
the system during gate runs.

Change-Id: Ifbffbed22446e7e6a3b825c18266b63d2f2e7718

melanie witt authored on 2017/05/17 08:04:46
Showing 1 changed files
... ...
@@ -13,10 +13,10 @@
13 13
 LOGDIR=$1
14 14
 
15 15
 # Command line arguments for primary DStat process.
16
-DSTAT_OPTS="-tcmndrylpg --top-cpu-adv --top-io-adv --top-mem --swap"
16
+DSTAT_OPTS="-tcmndrylpg --top-cpu-adv --top-io-adv --top-mem --swap --tcp"
17 17
 
18 18
 # Command-line arguments for secondary background DStat process.
19
-DSTAT_CSV_OPTS="-tcmndrylpg --output $LOGDIR/dstat-csv.log"
19
+DSTAT_CSV_OPTS="-tcmndrylpg --tcp --output $LOGDIR/dstat-csv.log"
20 20
 
21 21
 # Execute and background the secondary dstat process and discard its output.
22 22
 dstat $DSTAT_CSV_OPTS >& /dev/null &