Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 13205 148 0 0 0 0 0 0 13205 148 0 0 0 0 0 0
eth0:23271904 479545 0 0 0 0 0 0 1033672704 703351 0 0 0 226 0 0
if [ "$TYPE" = "swap" ]; then
INDATA=`cat /proc/meminfo | grep "Swap:" | sed 's/ * / /g' | cut -d ' ' -f2`
OUTDATA=`cat /proc/meminfo | grep "Swap:" | sed 's/ * / /g' | cut -d ' ' -f3`
fi
MemTotal: 1033928 kB
MemFree: 24420 kB
Buffers: 55640 kB
Cached: 765996 kB
SwapCached: 11144 kB
Active: 470176 kB
Inactive: 481332 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 1033928 kB
LowFree: 24420 kB
SwapTotal: 2048276 kB
SwapFree: 2021236 kB
Dirty: 196 kB
Writeback: 0 kB
Mapped: 142748 kB
Slab: 46216 kB
Committed_AS: 379580 kB
PageTables: 4432 kB
VmallocTotal: 3088376 kB
VmallocUsed: 4388 kB
VmallocChunk: 3082432 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 2048 kB
interfasys said:# cd /home/groovy
# wget http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/mrtg.tar.gz
# tar -zxvf mrtg.tar.gz
# cd mrtg*
# ./configure --with-gd=/usr/local/lib
# make
# make install
----------------
# cd /var/www/html/mrtg
# wget http://www.l0rdphi1.com/junk/mrtg.tgz
# tar -zxvf mrtg.tgz
# chmod 755 system
# /usr/local/mrtg-2/bin/mrtg /var/www/html/mrtg/mrtg.cfg
This will give you the graphs of the rpm version, but with the latest MRTG.
The major change from the original howto is the added configuration switch.
noose said:mysql mrtg statshttp://www.elektrondata.se/~hj/mysqlmrtg.html
l0rdphi1 can you add that one to Your package? it's very usesful :]
Max Questions: 100.0 q/s Average Questions: 62.0 q/s Current Questions: 91.0 q/s
Max Cache hits: 100.0 q/s Average Cache hits: 50.0 q/s Current Cache hits: 60.0 q/s
intelliot said:Do you mean a new version of mrtg? I'm interested.