How to install MRTG without SNMP

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

Protected Area

This content is password-protected. Please verify with a password to unlock the content.


Blog | , ,
Line it!