FG

Mac OS X sysctl get total and free memory size

Fresh3 days ago
Mar 15, 202641858 views
Confidence Score0%
0%

Problem

How to get on MAC OS X using sysctl used and free memory ? Searched for or but didn't found anything relevant.

Error Output

sysctl -a | grep vm

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Mac OS X sysctl get total and free memory size

Low Risk

You don't. Well, except for total memory size, which you could have found with ( on my machine). displays the same information as does, you just need to multiply the value you want by page size. Both are provided in the output.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment