Skip to content

Instantly share code, notes, and snippets.

@eskatos
Last active January 13, 2017 15:18
Show Gist options
  • Save eskatos/86ddcac0e6b3e92cb11ca329a4198370 to your computer and use it in GitHub Desktop.
Save eskatos/86ddcac0e6b3e92cb11ca329a4198370 to your computer and use it in GitHub Desktop.
value host_statistics_pages host_statistics_mb vm_stat_mb vm_stat_pages
free 10637 41 39 10178
inactive 1415946 5531 5533 1416664
wired 686800 2682 2682 686822
active 1424004 5562 5561 1423734
external 734911016 2870746 2302 589350
speculative 1 0 23 6022
total 4194304 16384 16384 4194304
available_fcache 734921652 2870787 2318 593506
available_inact 1426582 5572 5550 1420820
@eskatos
Copy link
Author

eskatos commented Jan 13, 2017

Columns
host_statistics_* values are from native calls to host_statistics64
vm_stat_* values are from parsing vm_stat output

Rows
total is the system's amount of RAM
available_fcache is free + external - speculative
available_inact is free + inactive - speculative

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment