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
This commit is contained in:
parent
1f55d38911
commit
fc572a5da0
@ -13,10 +13,10 @@
|
|||||||
LOGDIR=$1
|
LOGDIR=$1
|
||||||
|
|
||||||
# Command line arguments for primary DStat process.
|
# Command line arguments for primary DStat process.
|
||||||
DSTAT_OPTS="-tcmndrylpg --top-cpu-adv --top-io-adv --top-mem --swap"
|
DSTAT_OPTS="-tcmndrylpg --top-cpu-adv --top-io-adv --top-mem --swap --tcp"
|
||||||
|
|
||||||
# Command-line arguments for secondary background DStat process.
|
# Command-line arguments for secondary background DStat process.
|
||||||
DSTAT_CSV_OPTS="-tcmndrylpg --output $LOGDIR/dstat-csv.log"
|
DSTAT_CSV_OPTS="-tcmndrylpg --tcp --output $LOGDIR/dstat-csv.log"
|
||||||
|
|
||||||
# Execute and background the secondary dstat process and discard its output.
|
# Execute and background the secondary dstat process and discard its output.
|
||||||
dstat $DSTAT_CSV_OPTS >& /dev/null &
|
dstat $DSTAT_CSV_OPTS >& /dev/null &
|
||||||
|
Loading…
Reference in New Issue
Block a user