sum = 0
for all processes (as reported by sysctl) (without 0 kernel_task) do:
for all memory regions do:
vm_region_64( VM_REGION_EXTENDED_INFO )
sum += extended.pages_swapped_out
and got sum = 257.4 MiB.
But Activity Monitor says: Swap used: 1 GiB
and /private/var/vm has 2 GiB swapfiles.
Why are these numbers so widely different?
Kind regards,
Gerriet.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (Darwin...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/darwin-kernel/darwin-kernel-garchive-95844%40googlegroups.com
This email sent to darwin-kernel-...@googlegroups.com