I thought that vmmeter.v_wire_count + vmmeter .v_active_count would be the answer. So I tried: int mib[] = { CTL_VM, VM_METER }; int miblen = sizeof(mib) / sizeof(int); struct vmmeter vmmeter; size_t len = sizeof(vmmeter); int res = sysctl(mib, miblen, &vmmeter, &len, NULL, 0); But got: errno = 2 = "No such file or directory" So: How do I get the number of resident pages of all processes? Kind regards, Gerriet. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Gerriet M. Denkmann