Hi, I really need to know of a way to get the current users device: 1. Active Memory 2. Inactive Memory 3. Wired Memory 4. Free Memory 5. Total Memory.
Any information, code or anything is helpful.
Thanks In Advance.
Hi, I really need to know of a way to get the current users device: 1. Active Memory 2. Inactive Memory 3. Wired Memory 4. Free Memory 5. Total Memory.
Any information, code or anything is helpful.
Thanks In Advance.
The desktop uses the Mach call host_statistics64()
to get that information. You can see it in use in the source code for the vm_stat command.