4 ms·
No "free" command. With "top" command I got this: MemRegions: 1744370 total, 5771M resident, 234M private, 4726M shared. PhysMem: 31G used (2888M wired, 15G co
by vardump 4y ago
No "free" command. With "top" command I got this:
MemRegions: 1744370 total, 5771M resident, 234M private, 4726M shared. PhysMem: 31G used (2888M wired, 15G compressor), 74M unused.
A bit confusing even for someone who is comfortable dealing with low level kernel stuff...
I guess I'll need to install Homebrew, MacPorts or something.
Edit vm_stat says this. Looks like more reasonable output:
% vm_stat
Mach Virtual Memory Statistics: (page size of 16384 bytes)
Pages free: 4070.
Pages active: 387530.
Pages inactive: 385599.
Pages speculative: 241.
Pages throttled: 0.
Pages wired down: 185222.
Pages purgeable: 2.
"Translation faults": 458286513.
Pages copy-on-write: 18032218.
Pages zero filled: 230111374.
Pages reactivated: 9982494.
Pages purged: 4086524.
File-backed pages: 197104.
Anonymous pages: 576266.
Pages stored in compressor: 2007280.
Pages occupied by compressor: 1062310.
Decompressions: 6355861.
Compressions: 10204603.
Pageins: 13150790.
Pageouts: 252630.
Swapins: 52.
Swapouts: 30380.
- lifty 4y agoBetter to use Activity Monitor, as simple as that might be.