aptitude -y install mrtg
mkdir /usr/local/bin/mrtgx/
vim /usr/local/bin/mrtgx/mem.sh
#!/bin/sh
USED=`free -b|grep cache:|cut -d ":" -f2|cut -c1-11`
#FREE=`free -b|grep cache:|cut -d ":" -f2|cut -c12-22`
echo $USED
echo $USED
aptitude -y install mrtg
mkdir /usr/local/bin/mrtgx/
vim /usr/local/bin/mrtgx/mem.sh
#!/bin/sh
USED=`free -b|grep cache:|cut -d ":" -f2|cut -c1-11`
#FREE=`free -b|grep cache:|cut -d ":" -f2|cut -c12-22`
echo $USED
echo $USED