How to get SystemMemorySize?

Deepak Madhusudan deepak.katagade at
Thu Jul 2 10:53:55 UTC 2009

Hi All,
 In linux driver in order to get the system memory size we can get it using
the following call.
   struct sysinfo 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,

More information about the freebsd-questions mailing list