From: Fabrizio Parrella fabrizio bibivu.com Date: Wed, 13 Dec 2006 10:21:04 -0500 (EST) This script uses vmstats for the combined used memory, and swapinfo for the swap used memory, then it parsed out the info for MRTG to use. I've included an mrtg.cfg that you can add to your config folder. Replace "/usr/home/mrtg/bin/freebsd-mem.pl" with the path of the file included freebsd-mem.pl, and assign to MaxBytes the total Bytes of your memory (swap + ram). If you did install perl in a folder different than /usr/bin/, please edit freebsd-mem.pl and change the first line with the perl path. To find out your perl path, use this comand: #>which perl