Browse code

lib/dstat: Include page stats

Add -g option for dstat.

From the man page:

-g, --page
enable page stats (page in, page out)

Change-Id: I865304483af0a529ea8722ed0a9f35ab350670d2

YAMAMOTO Takashi authored on 2014/11/18 13:03:08
Showing 1 changed files
... ...
@@ -24,7 +24,7 @@ DSTAT_FILE=${DSTAT_FILE:-"dstat.txt"}
24 24
 # start_dstat() - Start running processes, including screen
25 25
 function start_dstat {
26 26
     # A better kind of sysstat, with the top process per time slice
27
-    DSTAT_OPTS="-tcmndrylp --top-cpu-adv"
27
+    DSTAT_OPTS="-tcmndrylpg --top-cpu-adv"
28 28
     if [[ -n ${SCREEN_LOGDIR} ]]; then
29 29
         screen_it dstat "cd $TOP_DIR; dstat $DSTAT_OPTS | tee $SCREEN_LOGDIR/$DSTAT_FILE"
30 30
     else