Crate mac_sys_info

Source
Expand description

Library to get Mac-specific system info. The information is retrieved from the $ sysctl -a command. It gives you structured access to system info as well as raw access to all keys.

Modules§

error
Contains all error-related structs and functions that can occur in this library.
generated_sysctl_keys
Raw mappings to the sysctl values/keys. (The output of $ sysctl -a) Last updated: 2020-11-26 on intel Macbook Pro on MacOS Catalina 10.15.7
structs
This module contains all structs thar hold information about the system.

Functions§

get_mac_sys_info
Returns system information about your Mac. The information is retrieved from the sysctl -a command.