Date: Sat, 3 Jan 2009 14:29:43 +0100 From: Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= <patfbsd@davenulle.org> To: freebsd-questions@freebsd.org Cc: Grant Peel <gpeel@thenetnow.com> Subject: Re: Memory Usage Message-ID: <20090103142943.05d2a2a3@baby-jane-lamaiziere-net.local> In-Reply-To: <A55708141B004110B332C192E54B0807@GRANTPC> References: <A55708141B004110B332C192E54B0807@GRANTPC>
next in thread | previous in thread | raw e-mail | index | archive | help
Le Fri, 2 Jan 2009 10:47:32 -0500, "Grant Peel" <gpeel@thenetnow.com> a écrit : > Hi all, > > Does anyone have scripts they may be willing to share the parses any > FreeBSD utility (top, w, etc) suitable for using the output to use > mrtg to show memory and disk usage? Mrtg needs a script that returns four lines : - the first value - the second value (return 0 if only one value is used) - the Uptime - The legend By example a little script to return the number of processus using ps -xa net:/<1>local/libexec/mrtg# ./pn2mrtg 193 0 12 days, 10:20 net see http://user.lamaiziere.net/patrick/mrtg.tar.gz as examples. (The scripts are quite uggly...) http://lamaiziere.net/private/stat/net/ for the result OTH, regards.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090103142943.05d2a2a3>