Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zfdang authored Jan 2, 2024
1 parent a50af1a commit 5e3a8fe
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,15 @@ or

# Explanation:

Total memory is fetched from host_info.
Total memory is fetched from host_info().

`https://developer.apple.com/documentation/kernel/1502514-host_info`

All other memory information is fetched from host_statistics64.
Swap information is fetched from sysctl().

`https://forums.macrumors.com/threads/sysctl-and-ctl_vm.145571/`

All other memory information is fetched from host_statistics64().

`https://developer.apple.com/documentation/kernel/1502863-host_statistics64`

Expand Down

0 comments on commit 5e3a8fe

Please sign in to comment.