Add memory usage to dstat output

Adds used, buffers, cache, free values next to the CPU usage.

Change-Id: Ia873e6a5e78413b724464985b253149bc7e9e2d8
This commit is contained in:
James E. Blair 2014-03-26 08:19:37 -07:00
parent 7ee8f11588
commit e8d840668e

View File

@ -884,7 +884,7 @@ init_service_check
# -------
# A better kind of sysstat, with the top process per time slice
DSTAT_OPTS="-tcndrylp --top-cpu-adv"
DSTAT_OPTS="-tcmndrylp --top-cpu-adv"
if [[ -n ${SCREEN_LOGDIR} ]]; then
screen_it dstat "cd $TOP_DIR; dstat $DSTAT_OPTS | tee $SCREEN_LOGDIR/$DSTAT_FILE"
else