sysctl - deptno/deptno.github.io GitHub Wiki
sysctl
μμ€ν λ³μλ₯Ό μ½κ³ μ΄λ€.
μ¬μ©λ²
# read
sysctl VARIABLE_NAME
# write
sudo sysctl -w VARIABLE_NAME=value
μ¬μ©
# νλ‘μΈμ [μ΄λ¦](/deptno/deptno.github.io/wiki/μ΄λ¦)
sysctl -n machdep.cpu.brand_string
sysctl -n machdep.cpu
# μ΄μμλ fd κ΄λ¦¬, macOS 10.6 μ΄μ μμλ§ μ¬μ©λμμ
# + μ°Έκ³ . https://facebook.github.io/watchman/docs/install.html#mac-os-file-descriptor-limits
sudo sysctl -w kern.maxfiles=10485760
sudo sysctl -w kern.maxfilesperproc=1048576