Contents

sysctl

Provides the result of a sysctlbyname() call using the given selector.

Declaration

sysctl(selector)

Parameters

  • selector:

    String with the hardware selector for the desired data.

Return Value

Hardware data corresponding to selector.

Overview

Use man sysctl in the macOS Terminal application to see a list of hardware selectors.

See Also

Accessing System Information