Skip to content

Instantly share code, notes, and snippets.

@connectthefuture
Forked from zchee/sysctl.darwin.md
Created November 28, 2017 16:51
Show Gist options
  • Save connectthefuture/f67fcf895c14d3c5fbfbb7235d10ddfd to your computer and use it in GitHub Desktop.
Save connectthefuture/f67fcf895c14d3c5fbfbb7235d10ddfd to your computer and use it in GitHub Desktop.
sysctl(3) Darwin Kernel Version 15.2.0

from man page

> uname -asnrvmpio
Darwin zchee-darwin-amd64.local 15.2.0 Darwin Kernel Version 15.2.0: Fri Nov 13 19:43:59 PST 2015; root:xnu-3248.20.55~1/RELEASE_X86_64 x86_64 i386 MacBookPro11,3 Darwin

> sw_vers
ProductName:    Mac OS X
ProductVersion: 10.11.2
BuildVersion:   15C47a

> system_profiler SPHardwareDataType
Hardware:
  Hardware Overview:
    Model Name: MacBook Pro
    Model Identifier: MacBookPro11,3
    Processor Name: Intel Core i7
    Processor Speed: 2.3 GHz
    Number of Processors: 1
    Total Number of Cores: 4
    L2 Cache (per Core): 256 KB
    L3 Cache: 6 MB
    Memory: 16 GB
    Boot ROM Version: MBP112.0138.B16
    SMC Version (system): 2.19f12
Name Type changeable
hw.activecpu integer no
hw.busfrequency integer no
hw.busfrequency_max integer no
hw.busfrequency_min integer no
hw.byteorder integer no
hw.cacheconfig struct no
hw.cachelinesize integer no
hw.cachesize struct no
hw.cpu64bit_capable integer no
hw.cpufamily integer no
hw.cpufrequency integer no
hw.cpufrequency_max integer no
hw.cpufrequency_min integer no
hw.cpusubtype integer no
hw.cputhreadtype integer no
hw.cputype integer no
hw.l1dcachesize integer no
hw.l1icachesize integer no
hw.l2cachesize integer no
hw.l3cachesize integer no
hw.logicalcpu integer no
hw.logicalcpu_max integer no
hw.memsize integer no
hw.ncpu integer no
hw.packages integer no
hw.pagesize integer no
hw.physicalcpu integer no
hw.physicalcpu_max integer no
hw.tbfrequency integer no
kern.argmax integer no
kern.bootargs string no
kern.boottime struct no
kern.clockrate struct no
kern.coredump integer yes
kern.corefile string yes
kern.flush_cache_on_write integer yes
kern.hostid integer yes
kern.hostname string yes
kern.job_control integer no
kern.maxfiles integer yes
kern.maxfilesperproc integer yes
kern.maxnbuf integer yes
kern.maxproc integer yes
kern.maxprocperuid integer yes
kern.maxvnodes integer yes
kern.msgbuf integer yes
kern.nbuf integer no
kern.netboot integer no
kern.ngroups integer no
kern.nisdomainname string yes
kern.num_files integer no
kern.num_tasks integer no
kern.num_taskthreads integer no
kern.num_threads integer no
kern.num_vnodes integer no
kern.nx integer yes
kern.osrelease string no
kern.osrevision integer no
kern.ostype string no
kern.osversion string yes
kern.posix1version integer no
kern.procname string yes
kern.safeboot integer no
kern.saved_ids integer no
kern.secure_kernel integer no
kern.securelevel integer yes
kern.singleuser integer no
kern.sleeptime struct no
kern.slide integer no
kern.stack_depth_max integer no
kern.stack_size integer no
kern.sugid_coredump integer yes
kern.sugid_scripts integer yes
kern.symfile string no
kern.usrstack integer no
kern.usrstack64 integer no
kern.uuid string no
kern.version string no
kern.waketime struct no
machdep.cpu.address_bits.physical integer no
machdep.cpu.address_bits.virtual integer no
machdep.cpu.brand integer no
machdep.cpu.brand_string string no
machdep.cpu.cache.L2_associativity integer no
machdep.cpu.cache.linesize integer no
machdep.cpu.cache.size integer no
machdep.cpu.core_count integer no
machdep.cpu.cores_per_package integer no
machdep.cpu.extfamily integer no
machdep.cpu.extfeature_bits integer no
machdep.cpu.extfeatures string no
machdep.cpu.extmodel integer no
machdep.cpu.family integer no
machdep.cpu.feature_bits integer no
machdep.cpu.features string no
machdep.cpu.leaf7_feature_bits integer no
machdep.cpu.leaf7_features string no
machdep.cpu.logical_per_package integer no
machdep.cpu.max_basic integer no
machdep.cpu.max_ext integer no
machdep.cpu.microcode_version integer no
machdep.cpu.model integer no
machdep.cpu.processor_flag integer no
machdep.cpu.signature integer no
machdep.cpu.stepping integer no
machdep.cpu.thread_count integer no
machdep.cpu.tlb.data.large integer no
machdep.cpu.tlb.data.large_level1 integer no
machdep.cpu.tlb.data.small integer no
machdep.cpu.tlb.data.small_level1 integer no
machdep.cpu.tlb.inst.large integer no
machdep.cpu.tlb.inst.small integer no
machdep.cpu.tlb.shared integer no
machdep.cpu.ucupdate integer yes
machdep.cpu.vendor string no
machdep.cpu.xsave.extended_state integer no
machdep.tsc.deep_idle_rebase integer yes
machdep.tsc.frequency integer no
machdep.tsc.nanotime.generation integer no
machdep.tsc.nanotime.shift integer no
net.inet.ip.forwarding integer yes
net.inet.ip.portrange.first integer yes
net.inet.ip.portrange.hifirst integer yes
net.inet.ip.portrange.hilast integer yes
net.inet.ip.portrange.last integer yes
net.inet.ip.portrange.lowfirst integer yes
net.inet.ip.portrange.lowlast integer yes
net.inet.ip.redirect integer yes
net.inet.ip.ttl integer yes
net.inet.udp.checksum integer yes
net.inet.udp.maxdgram integer yes
vm.loadavg struct no
vm.swapusage struct no
user.bc_base_max integer no
user.bc_dim_max integer no
user.bc_scale_max integer no
user.bc_string_max integer no
user.coll_weights_max integer no
user.cs_path string no
user.expr_nest_max integer no
user.line_max integer no
user.posix2_c_bind integer no
user.posix2_c_dev integer no
user.posix2_char_term integer no
user.posix2_fort_dev integer no
user.posix2_fort_run integer no
user.posix2_localedef integer no
user.posix2_sw_dev integer no
user.posix2_upe integer no
user.posix2_version integer no
user.re_dup_max integer no
user.stream_max integer no
user.tzname_max integer no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment