Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jul 2009 15:57:28 +0530
From:      Deepak Madhusudan <deepak.katagade@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   How to get SystemMemorySize?
Message-ID:  <6f0f8ee70907020327s4588952eq7281050554a41ac5@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?6f0f8ee70907020327s4588952eq7281050554a41ac5>