Searched refs:mem_avail (Results 1 - 2 of 2) sorted by relevance

/solaris-userland/components/net-snmp-57/sun/agent/modules/healthMonitor/
H A Dkr_memory.c61 krgetmemusage (int *mem_avail, int *mem_inuse, int *mem_free) argument
81 *mem_avail = kstat_named_value(ksp, "physmem") / intfactor; */
83 *mem_avail = sysconf(_SC_PHYS_PAGES) / intfactor;
85 *mem_inuse = *mem_avail - *mem_free;
89 /* *mem_avail = kstat_named_value(ksp, "physmem") * intfactor; */
90 *mem_avail = sysconf(_SC_PHYS_PAGES) * intfactor;
92 *mem_inuse = *mem_avail - *mem_free;
H A DhealthMonitor.c72 int mem_avail=0, mem_inuse=0, mem_free=0; variable
1769 code = krgetmemusage(&mem_avail, &mem_inuse, &mem_free);

Completed in 20 milliseconds