Skip to main content

Module macos

Module macos 

Source
Expand description

macOS probes: CPU, OS version, unified memory, storage, Metal GPU and the Apple Neural Engine.

Sources: sysctl, sw_vers, vm_stat, df, and system_profiler SPDisplaysDataType -json. The ANE has no public query API; its presence is inferred from an Apple-silicon chip plus CoreML.framework, so it is advertised as claimed with a note, never probed or measured, and its busy state is not known.

Functionsยง

live_free
Free memory from vm_stat: (free + inactive + speculative) pages. Current free memory from vm_stat alone (cheap live probe).
parse_vm_stat
probe
Run the macOS probes.