Re: showing total/free memory

2004-01-29 Thread Jez Hancock
On Fri, Jan 30, 2004 at 08:40:16AM +1100, Rowdy wrote: > Jez Hancock wrote: > > >You could always output the results of dmesg at boot-time to a file - > >adding something like this: > > > >dmesg > /var/log/dmesg.boot > > > >to /usr/local/etc/rc.local. > > > > Don't need to ... a default FreeBSD 5

Re: showing total/free memory

2004-01-29 Thread Rowdy
Jez Hancock wrote: You could always output the results of dmesg at boot-time to a file - adding something like this: dmesg > /var/log/dmesg.boot to /usr/local/etc/rc.local. Don't need to ... a default FreeBSD 5.1 installation already writes it to /var/run/dmesg.boot :-) Dave _

Re: showing total/free memory

2004-01-29 Thread Chris Pressey
On Thu, 29 Jan 2004 21:29:07 + Jez Hancock <[EMAIL PROTECTED]> wrote: > On Fri, Jan 30, 2004 at 08:11:26AM +1100, Rowdy wrote: > > Chris Pressey wrote: > > > > >Well, I'm not sure if it works on 5.x, but you could try > > > > > > /usr/ports/sysutils/muse > > > > > >Should be easier to parse

Re: showing total/free memory

2004-01-29 Thread Jez Hancock
On Fri, Jan 30, 2004 at 08:11:26AM +1100, Rowdy wrote: > Chris Pressey wrote: > > >Well, I'm not sure if it works on 5.x, but you could try > > > > /usr/ports/sysutils/muse > > > >Should be easier to parse than the other options. > > > >-Chris You could always output the results of dmesg at boot-

Re: showing total/free memory

2004-01-29 Thread Rowdy
Chris Pressey wrote: Well, I'm not sure if it works on 5.x, but you could try /usr/ports/sysutils/muse Should be easier to parse than the other options. -Chris Works fine under 5.1 - thanx Chris. However the output is a little confusing, /var/run/dmesg.boot shows this: real memory = 134217

Re: showing total/free memory

2004-01-28 Thread Rowdy
Chris Pressey wrote: Well, I'm not sure if it works on 5.x, but you could try /usr/ports/sysutils/muse Should be easier to parse than the other options. -Chris That sounds just the ticket, thanx :) It is listed in the current ports tree, and so presumably does work under 5.x. Dave ___

Re: showing total/free memory

2004-01-28 Thread Andrew L. Gould
On Wednesday 28 January 2004 03:58 pm, Chris Pressey wrote: > On Thu, 29 Jan 2004 08:26:00 +1100 > > Rowdy <[EMAIL PROTECTED]> wrote: > > Matthew Hunt wrote: > > > On Thu, Jan 29, 2004 at 08:03:46AM +1100, Rowdy wrote: > > >>I am setting up MRTG and at the moment I am parsing /var/run/dmesg.boot >

Re: showing total/free memory

2004-01-28 Thread Chris Pressey
On Thu, 29 Jan 2004 08:26:00 +1100 Rowdy <[EMAIL PROTECTED]> wrote: > Matthew Hunt wrote: > > > On Thu, Jan 29, 2004 at 08:03:46AM +1100, Rowdy wrote: > > > > > >>I am setting up MRTG and at the moment I am parsing /var/run/dmesg.boot > >>and the output from `top -b -d 1` to get total and free

Re: showing total/free memory

2004-01-28 Thread Rowdy
Matthew Hunt wrote: On Thu, Jan 29, 2004 at 08:03:46AM +1100, Rowdy wrote: I am setting up MRTG and at the moment I am parsing /var/run/dmesg.boot and the output from `top -b -d 1` to get total and free memory respectively, but I hope there is an easier way. Try "vmstat" instead. Thought of

Re: showing total/free memory

2004-01-28 Thread Matthew Hunt
On Thu, Jan 29, 2004 at 08:03:46AM +1100, Rowdy wrote: > I am setting up MRTG and at the moment I am parsing /var/run/dmesg.boot > and the output from `top -b -d 1` to get total and free memory > respectively, but I hope there is an easier way. Try "vmstat" instead. -- Matthew Hunt <[EMAIL PR

showing total/free memory

2004-01-28 Thread Rowdy
Greetings, What is the best/easiest way on FreeBSD 5.1 to show the total and free amount of memory (at any given moment in time)? I am setting up MRTG and at the moment I am parsing /var/run/dmesg.boot and the output from `top -b -d 1` to get total and free memory respectively, but I hope ther