Something like the following should use the power of sysctl. physmem and
usermem in place of realmem may be of use too. Just wish I knew proper values
nad logic to tweak kern.ipc.shmmax and similar paramaters.
int realmem;
char* realmem_mib_name = hw.realmem;
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.