News for hackers. Stuff that matters.
Re:Apple Halted M2 Chip Production in January Amid 'Plummeti... by vardump on Monday April 03, 2023 @08:48AM (#35422595)
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.
Re:Apple Halted M2 Chip Production in January Amid 'Plummeti... by lifty on Monday April 03, 2023 @08:55AM (#35422701)
Better to use Activity Monitor, as simple as that might be.