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
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
_
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
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-
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
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
___
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
>
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
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
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
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
11 matches
Mail list logo