tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Physical memory

So I have a theory that physical memory use could be calculated with
hw.physmem64 - (vm.uvmexp->pagesize * vm.uvmexp->active)  Is this

Active and free change accordingly when I malloc from userland, npages
* pagesize is also pretty close to physical memory, so is this a good
way to report on physical memory use?  Is kernel memory use
accounted-for in these?


Home | Main Index | Thread Index | Old Index