Forrest logo
back to the sysctl tool

sysctl:tldr:75de0

sysctl: Show available CPU features (MMX, SSE, SSE2, SSE3, AES, etc).
$ sysctl -n machdep.cpu.features
try on your machine

The command "sysctl" is used in macOS and Unix-based systems to view and modify the kernel parameters and settings. It allows you to access and change various system settings without the need to directly edit configuration files.

In this specific command, "sysctl -n machdep.cpu.features", the "-n" option is used to suppress the display of the variable name, showing only the value of the specified variable. "machdep.cpu.features" refers to a system variable that stores information about the CPU (Central Processing Unit) features supported by the system.

By executing this command, you will only see the value of the "machdep.cpu.features" variable, which will display a list of CPU features supported by your system, such as SSE (Streaming SIMD Extensions), AVX (Advanced Vector Extensions), AES (Advanced Encryption Standard), etc.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the sysctl tool