Date: Fri, 03 May 2002 03:17:37 +0200 From: "Roger 'Rocky' Vetterberg" <listsub@rambo.simx.org> To: Richard Shea <richardshea@fastmail.fm> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: getting amount of ram with sysctl Message-ID: <3CD1E531.8050808@rambo.simx.org> References: <20020503002730.02AF56DA03@fastmail.fm>
next in thread | previous in thread | raw e-mail | index | archive | help
Richard Shea wrote: > Hi - Sorry I don't have an answer to your question but I would like to > do this myself and I don't know how (I don't know how to do it at all, > forget about accuracy !). > > I've looked at 'man sysctl' and I can't see the variables you have > mentioned - the nearest i've got is 'vm.loadavg'. > > Could you post the actual command you're using so that I could try it ? > > Sorry about not answering your question, I'm sure someone will ! > > regards > > richard shea. The commands are just 'sysctl vm.stats.vm.v_page_size' and 'sysctl vm.stats.vm.v_page_count'. Someone just told me about 'sysctl hw.physmem' which gives me a slightly more accurate value, but Im still missing a few megs. -- R To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CD1E531.8050808>