-S DISK is the default on at least RHEL 5 and 6, so that should
collect the disk statistics we want.
Signed-off-by: Martin Schwenke <martin@meltin.net>
y2='# Exclude some block devices:'
sed -i.orig -e "s@${x1}@${y1}@" -e "s@${x2}@${y2}@" /etc/lvm/lvm.conf
-###
-echo "Changing settings so sysstat also reports disk I/O..."
-/etc/init.d/sysstat stop
-rm -f /var/log/sa/*
-for i in "/etc/init.d/sysstat" "/usr/lib64/sa/sa1" ; do
- sed -i.orig -e 's/sadc -F -L/sadc -d -F -L/g' "$i"
-done
-
###
echo "Setting the value of max opened files..."
cat >/etc/security/limits.d/autocluster.cfg <<EOF