Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jun 2009 11:38:03 +0530
From:      Deepak Madhusudan <deepak.katagade@gmail.com>
To:        freebsd-drivers@freebsd.org
Subject:   How to get SystemMemorySize?
Message-ID:  <6f0f8ee70906262308y20968e22h249ec4a2535851ee@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi All,
 In linux driver in order to get the system memory size we can get it using
the following call.
   struct sysinfo si;
   si_meminfo(&si);
   return (si.tatotalram);
Is there any similar call in freebsd to get the following
information.Currently i am using freebsd 6.3.Please let me know.

Thanks and regards,
Deepak



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6f0f8ee70906262308y20968e22h249ec4a2535851ee>