xonsh.platforms.macutils

Provides some Mac / Darwin based utility functions for xonsh.

xonsh.platforms.macutils.sysctlbyname(name, return_str=True)[source]

Gets a sysctl value by name. If return_str is true, this will return a string representation, else it will return the raw value.