From bfdd47c8538260db26ead098cbafa62afb637a60 Mon Sep 17 00:00:00 2001 From: Hongbin Lu Date: Sun, 20 Dec 2015 16:30:36 -0500 Subject: [PATCH] Enable swap stats in dstat Swap stats could be useful for trouble-shooting. It is better to have it enabled in dstat. Change-Id: I44e0735a95cd6ca3def9b04510551df16a1337a4 --- tools/dstat.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/dstat.sh b/tools/dstat.sh index 6ba4515acf..3c0b3be089 100755 --- a/tools/dstat.sh +++ b/tools/dstat.sh @@ -13,7 +13,7 @@ LOGDIR=$1 # Command line arguments for primary DStat process. -DSTAT_OPTS="-tcmndrylpg --top-cpu-adv --top-io-adv" +DSTAT_OPTS="-tcmndrylpg --top-cpu-adv --top-io-adv --swap" # Command-line arguments for secondary background DStat process. DSTAT_CSV_OPTS="-tcmndrylpg --output $LOGDIR/dstat-csv.log"