SYSCTL(8) BSD System Manager's Manual SYSCTL(8)
sysctl -- get or set kernel state
sysctl [-bn] name ...
sysctl [-bn] -w name=value ...
sysctl [-bn] -a
sysctl [-bn] -A
sysctl [-bn] -X
retrieves kernel state and allows processes with appropriate privilege to set kernel
state. The state to be retrieved or set is described using a ``Management Information Base'' (``MIB'')
style name, described as a dotted set of components.
-A List all MIB variables including opaque variables (which are normally suppressed).
format and length are displayed, as well as a hex dump of the first 16 bytes.
-X displays a hex dump of the entire value
-a List all the currently available non-opaque values.
ignored if one or more variable names are specified on the command line.
-b Output in raw, binary format.
No names are output and no terminating newlines are output.
Useful with a single variable.
-n Show only values, not names. Useful for setting shell variables.
For instance, to save the pagesize in variable psize:
set psize=`sysctl -n hw.pagesize`
-w name=value Sets values.
If just a MIB style name is given, the corresponding value is retrieved.
The information available from sysctl consists of integers, strings, and tables.
The tabular information can only be retrieved by special programs such as ps, systat, and netstat/code>.
The string and integer information is summarized below.
For a detailed description of these variable see sysctl(3).
The changeable column indicates whether a process with appropriate privilege can change the value.
Name Type Changeable
kern.ostype string no
kern.osrelease string no
kern.osrevision integer no
kern.version string no
kern.maxvnodes integer yes
kern.maxproc integer yes
kern.maxfiles integer yes
kern.argmax integer no
kern.securelevel integer raise only
kern.hostname string yes
kern.hostid integer yes
kern.clockrate struct no
kern.posix1version integer no
kern.ngroups integer no
kern.job_control integer no
kern.saved_ids integer no
kern.link_max integer no
kern.max_canon integer no
kern.max_input integer no
kern.name_max integer no
kern.path_max integer no
kern.pipe_buf integer no
kern.chown_restricted integer no
kern.no_trunc integer no
kern.vdisable integer no
kern.boottime struct no
vm.loadavg struct no
vm.swapusage struct no
machdep.console_device dev_t no
net.inet.ip.forwarding integer yes
net.inet.ip.redirect integer yes
net.inet.ip.ttl integer yes
net.inet.icmp.maskrepl integer yes
net.inet.udp.checksum integer yes
hw.machine string no
hw.model string no
hw.ncpu integer no
hw.byteorder integer no
hw.physmem integer no
hw.usermem integer no
hw.memsize integer no
hw.pagesize integer no
user.cs_path string 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.expr_nest_max integer no
user.line_max integer no
user.re_dup_max integer no
user.posix2_version 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
sysctl can get or set debugging variables that have been identified for its display.
This information can be obtained by using the command:
> sysctl debug
debug.lowpri_IO_initial_window_msecs: 100
debug.lowpri_IO_window_inc: 50
debug.lowpri_max_window_msecs: 200
debug.lowpri_max_waiting_msecs: 200
debug.bpf_bufsize: 4096
debug.bpf_maxbufsize: 524288
debug.bpf_maxdevices: 256
debug.kextlog: 4083
debug.iokit: 0
sysctl can extract information about the filesystems that have been compiled into the running
system. This information can be obtained by using the command:
sysctl vfs
By default, only filesystems that are actively being used are listed.
-A lists all the filesystems compiled into the running kernel.
EXAMPLES
All kernal variables:
sysctl kern
the maximum number of processes allowed in the system:
sysctl kern.maxproc
set the maximum number of processes allowed in the system to 1000:
sysctl -w kern.maxproc=1000
clock rate : sysctl kern.clockrate
load average history : sysctl vm.loadavg
swap space usage : sysctl vm.swapusage
FILES
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers
<sys/sysctl.h> top level identifiers,
second level kernel and hardware identifiers,
and user level identifiers
<sys/socket.h> second level network identifiers
<sys/gmon.h> third level profiling identifiers
<vm/vm_param.h> second level virtual memory identifiers
<netinet/in.h> third level Internet identifiers and fourth level IP identifiers
<netinet/icmp_var.h> fourth level ICMP identifiers
<netinet/udp_var.h> fourth level UDP identifiers
SEE ALSO
sysctl(3)
on Mac OSX smackerpro 1 Feb 11
> sysctl vfs
vfs.generic.nfs.client.initialdowndelay: 12
vfs.generic.nfs.client.nextdowndelay: 30
vfs.generic.nfs.client.iosize: 1048576
vfs.generic.nfs.client.access_cache_timeout: 60
vfs.generic.nfs.client.allow_async: 0
vfs.generic.nfs.client.statfs_rate_limit: 10
vfs.generic.nfs.client.nfsiod_thread_max: 16
vfs.generic.nfs.client.nfsiod_thread_count: 0
vfs.generic.nfs.client.lockd_mounts: 0
vfs.generic.nfs.client.max_async_writes: 128
vfs.generic.nfs.client.single_des: 0
vfs.generic.nfs.client.access_delete: 0
vfs.generic.nfs.server.wg_delay: 1000
vfs.generic.nfs.server.wg_delay_v3: 0
vfs.generic.nfs.server.require_resv_port: 0
vfs.generic.nfs.server.async: 0
vfs.generic.nfs.server.export_hash_size: 64
vfs.generic.nfs.server.reqcache_size: 64
vfs.generic.nfs.server.request_queue_length: 128
vfs.generic.nfs.server.user_stats: 1
vfs.generic.nfs.server.gss_context_ttl: 28800
vfs.generic.nfs.server.fsevents: 1
vfs.generic.nfs.server.nfsd_thread_max: 0
vfs.generic.nfs.server.nfsd_thread_count: 0
vfs.generic.always_do_fullfsync: 0
vfs.hfs has 6 mounted instances
vfs.autofs has 2 mounted instances
vfs.smbfs has 2 mounted instances
on Mac OSX smackerpro 15 May 11
sysctl -A
entries reporting no such MIB not shown
kern.ostype = Darwin
kern.osrelease = 10.7.0
kern.osrevision = 199506
kern.version = Darwin Kernel Version 10.7.0:
Sat Jan 29 15:17:16 PST 2011;
root:xnu-1504.9.37~1/RELEASE_I386
kern.maxvnodes = 62464
kern.maxproc = 532
kern.maxfiles = 12288
kern.argmax = 262144
kern.securelevel = 0
kern.hostname = smackerPro
kern.hostid = 0
kern.clockrate: hz = 100,
tick = 10000, profhz = 100, stathz = 100
Use pstat to view kern.vnode information
Use ps to view kern.proc information
Use pstat to view kern.file information
kernel is not compiled for profiling
kern.profiling: kern.posix1version = 200112
kern.ngroups = 16
kern.job_control = 1
kern.saved_ids = 1
kern.boottime = Tue May 10 20:13:27 2011
kern.nisdomainname =
kern.maxfilesperproc = 10240
kern.maxprocperuid = 266
kern.usrstack = 1606418432
kern.symfile: Input/output error
kern.procargs: Invalid argument
kern.netboot = 0
kern.panicinfo: specification is incomplete
kern.aiomax = 90
kern.aioprocmax = 16
kern.aiothreads = 4
kern.procargs2: Invalid argument
kern.corefile = /cores/core.%P
kern.coredump = 1
kern.sugid_coredump = 0
kern.delayterm = 0
kern.shreg_private = 0
kern.usrstack64 = 140734799806464
kern.nx = 1
kern.procname =
kern.speculative_reads_disabled = 0
kern.osversion = 10J869
kern.safeboot = 0
kern.rage_vnode = 0
kern.check_openevt: Invalid argument
kern.thread_name = kern
|
kern.osrelease: 10.7.0
kern.osrevision: 199506
kern.version: Darwin Kernel Version 10.7.0:
Sat Jan 29 15:17:16 PST 2011;
root:xnu-1504.9.37~1/RELEASE_I386
kern.maxvnodes: 62464
kern.maxproc: 532
kern.maxfiles: 12288
kern.argmax: 262144
kern.securelevel: 0
kern.hostname: smackerPro
kern.hostid: 0
kern.clockrate: { hz = 100, tick = 10000, tickadj = 1, profhz = 100, stathz = 100 }
kern.file: Format:S,filehead Length:28372 Dump:0x50579c08d09d1e0aecdf850003000100...
kern.posix1version: 200112
kern.ngroups: 16
kern.job_control: 1
kern.saved_ids: 1
kern.boottime: { sec = 1305072807, usec = 0 } Tue May 10 20:13:27 2011
kern.nisdomainname:
kern.maxfilesperproc: 10240
kern.maxprocperuid: 266
kern.ipc.maxsockbuf: 4194304
kern.ipc.sockbuf_waste_factor: 8
kern.ipc.somaxconn: 128
kern.ipc.mbstat: Format:S,mbstat Length:580 Dump:0xb0040000880300000000000028000000...
kern.ipc.nmbclusters: 32768
kern.ipc.soqlimitcompat: 1
kern.ipc.mb_stat: Format:S,mb_stat Length:960 Dump:0x07000000000000006d62756600000000...
kern.ipc.mb_normalized: 0
kern.ipc.sosendminchain: 16384
kern.ipc.sorecvmincopy: 16384
kern.ipc.sosendjcl: 1
kern.ipc.sosendjcl_ignore_capab: 0
kern.ipc.maxsockets: 512
kern.ipc.sbspace_factor: 8
kern.ipc.njcl: 10920
kern.ipc.njclbytes: 16384
kern.ipc.soqlencomp: 0
kern.ipc.sendfileuiobufs: 64
kern.usrstack: 1606418432
kern.netboot: 0
kern.sysv.shmmax: 4194304
kern.sysv.shmmin: 1
kern.sysv.shmmni: 32
kern.sysv.shmseg: 8
kern.sysv.shmall: 1024
kern.sysv.semmni: 87381
kern.sysv.semmns: 87381
kern.sysv.semmnu: 87381
kern.sysv.semmsl: 87381
kern.sysv.semume: 10
kern.exec.archhandler.powerpc: /usr/libexec/oah/translate
kern.aiomax: 90
kern.aioprocmax: 16
kern.aiothreads: 4
kern.corefile: /cores/core.%P
kern.coredump: 1
kern.sugid_coredump: 0
kern.delayterm: 0
kern.shreg_private: 0
kern.posix.sem.max:
kern.usrstack64: 140734799806464
kern.nx: 1
kern.tfp.policy: 2
kern.procname:
kern.speculative_reads_disabled: 0
kern.osversion: 10J869
kern.safeboot: 0
kern.lctx.last: 1
kern.lctx.count: 0
kern.lctx.max: 8192
kern.rage_vnode: 0
kern.tty.ptmx_max: 127
kern.threadname:
kern.sleeptime: { sec = 1305570747, usec = 9423 } Mon May 16 14:32:27 2011
kern.waketime: { sec = 1305577406, usec = 12 } Mon May 16 16:23:26 2011
kern.willshutdown: 0
kern.progressmeterenable: 0
kern.progressmeter: 0
kern.hibernatefile: /var/vm/sleepimage
kern.bootsignature: 76430c7022bf7b3d68a9094d22589673c30323f2
kern.hibernatemode: 31
kern.nbuf: 16384
kern.maxnbuf: 16384
kern.flush_cache_on_write: 0
kern.sugid_scripts: 0
kern.bootargs: -v
kern.num_files: 788
kern.num_vnodes: 62464
kern.num_tasks: 1024
kern.num_threads: 2560
kern.num_taskthreads: 2560
kern.preheat_pages_max: 256
kern.preheat_pages_min: 8
kern.preheat_pages_mult: 4
kern.singleuser: 0
kern.affinity_sets_enabled: 1
kern.affinity_sets_mapping: 1
kern.kdebug_thread_block: 0
kern.stack_size: 16384
kern.stack_depth_max: -7163712
kern.ipc_portbt: 0
kern.msgbuf:
kern.wq_yielded_threshold: 2000
kern.wq_yielded_window_usecs: 30000
kern.wq_stalled_window_usecs: 200
kern.wq_reduce_pool_window_usecs: 5000000
kern.wq_max_timer_interval_usecs: 50000
kern.wq_max_threads: 512
kern.secure_kernel: 0
vfs.nfs has 0 mounted instances
vfs.unionfs has 0 mounted instances
vfs.hfs has 4 mounted instances
vfs.devfs has 0 mounted instances
vfs.autofs has 2 mounted instances
vfs.smbfs has 2 mounted instances
hw.machine = i386
hw.model = MacBookPro5,5
hw.ncpu = 2
hw.byteorder = 1234
hw.physmem = 2147483648
hw.usermem = 1659994112
hw.pagesize = 4096
hw.epoch = 0
hw.vectorunit = 1
hw.busfrequency = 1064000000
hw.cpufrequency = 2530000000
hw.cachelinesize = 64
hw.l1icachesize = 32768
hw.l1dcachesize = 32768
hw.l2settings = 1
hw.l2cachesize = 3145728
hw.l3settings: Invalid argument
hw.l3cachesize: Invalid argument
hw.tbfrequency = 1000000000
hw.memsize = 4294967296
hw.availcpu = 2
user.cs_path = /usr/bin:/bin:/usr/sbin:/sbin
user.bc_base_max = 99
user.bc_dim_max = 2048
user.bc_scale_max = 99
user.bc_string_max = 1000
user.coll_weights_max = 2
user.expr_nest_max = 32
user.line_max = 2048
user.re_dup_max = 255
user.posix2_version = 200112
user.posix2_c_bind = 0
user.posix2_c_dev = 0
user.posix2_char_term = 0
user.posix2_fort_dev = 0
user.posix2_fort_run = 0
user.posix2_localedef = 0
user.posix2_sw_dev = 0
user.posix2_upe = 0
user.stream_max = 20
user.tzname_max = 255
kern.ostype: Darwin
vm.loadavg: { 0.40 0.34 0.24 }
vm.swapusage:
total = 64.00M used = 0.00M free = 64.00M (encrypted)
vm.cs_force_kill: 0
vm.cs_force_hard: 0
vm.cs_debug: 0
vm.global_no_user_wire_amount: 67108864
vm.global_user_wire_limit: 3959422976
vm.user_wire_limit: 3959422976
vm.cs_validation: 1
vm.cs_blob_count: 65
vm.cs_blob_size: 484032
vm.cs_blob_count_peak: 200
vm.cs_blob_size_peak: 1423886
vm.cs_blob_size_max: 86016
vm.allow_stack_exec: 0
vm.allow_data_exec: 1
vm.shared_region_unnest_logging: 1
vm.shared_region_trace_level: 1
vm.shared_region_version: 3
vm.shared_region_persistence: 0
vm.vm_page_free_target: 2000
vm.memory_pressure: 0
vm.page_free_wanted: 0
vm.page_purgeable_count: 15588
vm.page_purgeable_wired_count: 0
vm.page_reusable_count: 28716
vm.reusable_success: 92826
vm.reusable_failure: 29833
vm.reusable_shared: 0
vm.all_reusable_calls: 28160
vm.partial_reusable_calls: 71050
vm.reuse_success: 31257
vm.reuse_failure: 518
vm.all_reuse_calls: 19933
vm.partial_reuse_calls: 16511
vm.can_reuse_success: 1310973
vm.can_reuse_failure: 9193
vfs.generic.vfsidlist: Format:S,fsid Length:72 Dump:0x0200000e1100000004354d0813000000...
vfs.generic.nfs.client.initialdowndelay: 12
vfs.generic.nfs.client.nextdowndelay: 30
vfs.generic.nfs.client.iosize: 1048576
vfs.generic.nfs.client.access_cache_timeout: 60
vfs.generic.nfs.client.allow_async: 0
vfs.generic.nfs.client.statfs_rate_limit: 10
vfs.generic.nfs.client.nfsiod_thread_max: 16
vfs.generic.nfs.client.nfsiod_thread_count: 0
vfs.generic.nfs.client.lockd_mounts: 0
vfs.generic.nfs.client.max_async_writes: 128
vfs.generic.nfs.client.single_des: 0
vfs.generic.nfs.client.access_delete: 0
vfs.generic.nfs.server.wg_delay: 1000
vfs.generic.nfs.server.wg_delay_v3: 0
vfs.generic.nfs.server.require_resv_port: 0
vfs.generic.nfs.server.async: 0
vfs.generic.nfs.server.export_hash_size: 64
vfs.generic.nfs.server.reqcache_size: 64
vfs.generic.nfs.server.request_queue_length: 128
vfs.generic.nfs.server.user_stats: 1
vfs.generic.nfs.server.gss_context_ttl: 28800
vfs.generic.nfs.server.fsevents: 1
vfs.generic.nfs.server.nfsd_thread_max: 0
vfs.generic.nfs.server.nfsd_thread_count: 0
vfs.generic.always_do_fullfsync: 0
net.local.stream.sendspace: 8192
net.local.stream.recvspace: 8192
net.local.stream.pcblist: Format:S,xunpcb Length:86916 Dump:0x1800000096000000a457010000000000...
net.local.stream.pcblist64: Format:S,xunpcb64 Length:91272 Dump:0x1800000095000000a557010000000000...
net.local.dgram.maxdgram: 2048
net.local.dgram.recvspace: 4096
net.local.dgram.pcblist: Format:S,xunpcb Length:15780 Dump:0x1800000095000000a557010000000000...
net.local.dgram.pcblist64: Format:S,xunpcb64 Length:16700 Dump:0x1800000095000000a557010000000000...
net.local.inflight: 0
net.inet.ip.portrange.lowfirst: 1023
net.inet.ip.portrange.lowlast: 600
net.inet.ip.portrange.first: 49152
net.inet.ip.portrange.last: 65535
net.inet.ip.portrange.hifirst: 49152
net.inet.ip.portrange.hilast: 65535
net.inet.ip.forwarding: 0
net.inet.ip.redirect: 1
net.inet.ip.ttl: 64
net.inet.ip.rtexpire: 62
net.inet.ip.rtminexpire: 10
net.inet.ip.rtmaxcache: 128
net.inet.ip.sourceroute: 0
net.inet.ip.intr_queue_maxlen: 50
net.inet.ip.intr_queue_drops: 0
net.inet.ip.stats: Format:S,ipstat Length:116 Dump:0x1e081600000000000000000000000000...
net.inet.ip.accept_sourceroute: 0
net.inet.ip.fastforwarding: 0
net.inet.ip.keepfaith: 0
net.inet.ip.gifttl: 30
net.inet.ip.subnets_are_local: 0
net.inet.ip.check_route_selfref: 1
net.inet.ip.use_route_genid: 1
net.inet.ip.dummynet.hash_size: 64
net.inet.ip.dummynet.curr_time: 0
net.inet.ip.dummynet.ready_heap: 0
net.inet.ip.dummynet.extract_heap: 0
net.inet.ip.dummynet.searches: 0
net.inet.ip.dummynet.search_steps: 0
net.inet.ip.dummynet.expire: 1
net.inet.ip.dummynet.max_chain_len: 16
net.inet.ip.dummynet.red_lookup_depth: 256
net.inet.ip.dummynet.red_avg_pkt_size: 512
net.inet.ip.dummynet.red_max_pkt_size: 1500
net.inet.ip.dummynet.debug: 0
net.inet.ip.fw.enable: 1
net.inet.ip.fw.autoinc_step: 100
net.inet.ip.fw.one_pass: 0
net.inet.ip.fw.debug: 0
net.inet.ip.fw.verbose: 0
net.inet.ip.fw.verbose_limit: 0
net.inet.ip.fw.dyn_buckets: 256
net.inet.ip.fw.curr_dyn_buckets: 256
net.inet.ip.fw.dyn_count: 0
net.inet.ip.fw.dyn_max: 4096
net.inet.ip.fw.static_count: 1
net.inet.ip.fw.dyn_ack_lifetime: 300
net.inet.ip.fw.dyn_syn_lifetime: 20
net.inet.ip.fw.dyn_fin_lifetime: 1
net.inet.ip.fw.dyn_rst_lifetime: 1
net.inet.ip.fw.dyn_udp_lifetime: 10
net.inet.ip.fw.dyn_short_lifetime: 5
net.inet.ip.fw.dyn_keepalive: 1
net.inet.ip.maxfragpackets: 1024
net.inet.ip.maxfragsperpacket: 128
net.inet.ip.maxfrags: 2048
net.inet.ip.scopedroute: 1
net.inet.ip.check_interface: 0
net.inet.ip.linklocal.stat: Format:S,ip_linklocal_stat Length:16 Dump:0x19920000d89100004d0000003d000000...
net.inet.ip.linklocal.in.allowbadttl: 1
net.inet.ip.random_id: 1
net.inet.ip.maxchainsent: 28
net.inet.ip.select_srcif_debug: 0
net.inet.icmp.maskrepl: 0
net.inet.icmp.stats: Format:S,icmpstat Length:368 Dump:0x57060000000000000000000024000000...
net.inet.icmp.icmplim: 250
net.inet.icmp.timestamp: 0
net.inet.icmp.drop_redirect: 0
net.inet.icmp.log_redirect: 0
net.inet.icmp.bmcastecho: 1
net.inet.igmp.stats: Format:S,igmpstat Length:36 Dump:0x00000000000000000000000000000000...
net.inet.tcp.rfc1323: 1
net.inet.tcp.rfc1644: 0
net.inet.tcp.mssdflt: 512
net.inet.tcp.stats: Format:S,tcpstat Length:352 Dump:0x85710000ea010000087200009b010000...
net.inet.tcp.keepidle: 7200000
net.inet.tcp.keepintvl: 75000
net.inet.tcp.sendspace: 65536
net.inet.tcp.recvspace: 65536
net.inet.tcp.keepinit: 75000
net.inet.tcp.pcblist: Format:S,xtcpcb Length:10528 Dump:0x180000001500000081d7010000000000...
net.inet.tcp.v6mssdflt: 1024
net.inet.tcp.log_in_vain: 0
net.inet.tcp.blackhole: 0
net.inet.tcp.delayed_ack: 3
net.inet.tcp.tcp_lq_overflow: 1
net.inet.tcp.drop_synfin: 1
net.inet.tcp.reass.maxsegments: 2048
net.inet.tcp.reass.cursegments: 0
net.inet.tcp.reass.overflows: 0
net.inet.tcp.slowlink_wsize: 8192
net.inet.tcp.maxseg_unacked: 8
net.inet.tcp.rfc3465: 1
net.inet.tcp.rfc3465_lim2: 1
net.inet.tcp.rexmt_thresh: 2
net.inet.tcp.path_mtu_discovery: 1
net.inet.tcp.slowstart_flightsize: 1
net.inet.tcp.local_slowstart_flightsize: 8
net.inet.tcp.newreno: 0
net.inet.tcp.tso: 1
net.inet.tcp.ecn_initiate_out: 0
net.inet.tcp.ecn_negotiate_in: 0
net.inet.tcp.packetchain: 50
net.inet.tcp.socket_unlocked_on_output: 1
net.inet.tcp.sack: 1
net.inet.tcp.sack_maxholes: 128
net.inet.tcp.sack_globalmaxholes: 65536
net.inet.tcp.sack_globalholes: 0
net.inet.tcp.minmss: 216
net.inet.tcp.minmssoverload: 0
net.inet.tcp.do_tcpdrain: 0
net.inet.tcp.pcbcount: 21
net.inet.tcp.icmp_may_rst: 1
net.inet.tcp.strict_rfc1948: 0
net.inet.tcp.isn_reseed_interval: 0
net.inet.tcp.background_io_enabled: 1
net.inet.tcp.rtt_min: 1
net.inet.tcp.randomize_ports: 0
net.inet.tcp.tcbhashsize: 4096
net.inet.tcp.pcblist64: Format:S,xtcpcb64 Length:9488 Dump:0x180000001500000081d7010000000000...
net.inet.tcp.background_io_trigger: 5
net.inet.tcp.msl: 15000
net.inet.tcp.always_keepalive: 0
net.inet.tcp.broken_peer_syn_rxmit_thres: 7
net.inet.tcp.pmtud_blackhole_detection: 1
net.inet.tcp.pmtud_blackhole_mss: 1200
net.inet.tcp.win_scale_factor: 3
net.inet.tcp.in_sw_cksum: 1304722
net.inet.tcp.in_sw_cksum_bytes: 974145241
net.inet.tcp.out_sw_cksum: 1598852
net.inet.tcp.out_sw_cksum_bytes: 172745314
net.inet.tcp.sockthreshold: 64
net.inet.udp.checksum: 1
net.inet.udp.stats: Format:S,udpstat Length:44 Dump:0x83c50000000000000000000000000000...
net.inet.udp.maxdgram: 9216
net.inet.udp.recvspace: 42080
net.inet.udp.pcblist: Format:S,xinpcb Length:19568 Dump:0x180000003d000000ed7b010000000000...
net.inet.udp.in_sw_cksum: 44082
net.inet.udp.in_sw_cksum_bytes: 15642239
net.inet.udp.out_sw_cksum: 17173
net.inet.udp.out_sw_cksum_bytes: 1339817
net.inet.udp.log_in_vain: 0
net.inet.udp.blackhole: 0
net.inet.udp.pcbcount: 61
net.inet.udp.randomize_ports: 1
net.inet.udp.pcblist64: Format:S,xinpcb64 Length:15908 Dump:0x180000003d000000ed7b010000000000...
net.inet.ipsec.stats: Format:S,ipsecstat Length:12432 Dump:0x00000000000000000000000000000000...
net.inet.ipsec.def_policy: 1
net.inet.ipsec.esp_trans_deflev: 1
net.inet.ipsec.esp_net_deflev: 1
net.inet.ipsec.ah_trans_deflev: 1
net.inet.ipsec.ah_net_deflev: 1
net.inet.ipsec.ah_cleartos: 1
net.inet.ipsec.ah_offsetmask: 0
net.inet.ipsec.dfbit: 0
net.inet.ipsec.ecn: 0
net.inet.ipsec.debug: 0
net.inet.ipsec.esp_randpad: -1
net.inet.ipsec.bypass: 1
net.inet.ipsec.esp_port: 0
net.inet.raw.maxdgram: 8192
net.inet.raw.recvspace: 8192
net.inet.raw.pcblist: Format:S,xinpcb Length:368 Dump:0x18000000010000007100000000000000...
net.inet.raw.pcblist64: Format:S,xinpcb64 Length:308 Dump:0x18000000010000007100000000000000...
net.link.generic.system.ifcount: 6
net.link.generic.system.multi_threaded_input: 1
net.link.generic.system.dlil_input_sanity_check: 0
net.link.generic.system.dlil_verbose: 0
net.link.ether.inet.prune_intvl: 300
net.link.ether.inet.max_age: 1200
net.link.ether.inet.host_down_time: 20
net.link.ether.inet.apple_hwcksum_tx: 1
net.link.ether.inet.apple_hwcksum_rx: 1
net.link.ether.inet.maxtries: 5
net.link.ether.inet.useloopback: 1
net.link.ether.inet.proxyall: 0
net.link.ether.inet.sendllconflict: 0
net.link.ether.inet.log_arp_warnings: 0
net.link.ether.inet.keep_announcements: 1
net.link.ether.inet.send_conflicting_probes: 1
net.key.debug: 0
net.key.spi_trycnt: 1000
net.key.spi_minval: 256
net.key.spi_maxval: 268435455
net.key.int_random: 60
net.key.larval_lifetime: 30
net.key.blockacq_count: 10
net.key.blockacq_lifetime: 20
net.key.esp_keymin: 256
net.key.esp_auth: 0
net.key.ah_keymin: 128
net.key.prefered_oldsa: 0
net.key.natt_keepalive_interval: 20
net.key.pfkeystat: Format:S,pfkeystat Length:4240 Dump:0x00000000000000000000000000000000...
net.inet6.ip6.forwarding: 0
net.inet6.ip6.redirect: 1
net.inet6.ip6.hlim: 64
net.inet6.ip6.stats: Format:S,ip6stat Length:3200 Dump:0xad0c0000000000000000000000000000...
net.inet6.ip6.maxfragpackets: 1024
net.inet6.ip6.accept_rtadv: 0
net.inet6.ip6.keepfaith: 0
net.inet6.ip6.log_interval: 5
net.inet6.ip6.hdrnestlimit: 50
net.inet6.ip6.dad_count: 1
net.inet6.ip6.auto_flowlabel: 1
net.inet6.ip6.defmcasthlim: 1
net.inet6.ip6.gifhlim: 0
net.inet6.ip6.kame_version: 20010528/apple-darwin
net.inet6.ip6.use_deprecated: 1
net.inet6.ip6.rr_prune: 5
net.inet6.ip6.v6only: 0
net.inet6.ip6.rtexpire: 3600
net.inet6.ip6.rtminexpire: 10
net.inet6.ip6.rtmaxcache: 128
net.inet6.ip6.use_tempaddr: 0
net.inet6.ip6.temppltime: 86400
net.inet6.ip6.tempvltime: 604800
net.inet6.ip6.auto_linklocal: 1
net.inet6.ip6.rip6stats: Format:S,rip6stat Length:56 Dump:0x00000000000000000000000000000000...
net.inet6.ip6.maxfrags: 8192
net.inet6.ip6.neighborgcthresh: 1024
net.inet6.ip6.maxifprefixes: 16
net.inet6.ip6.maxifdefrouters: 16
net.inet6.ip6.maxdynroutes: 1024
net.inet6.ip6.fw.enable: 1
net.inet6.ip6.fw.debug: 0
net.inet6.ip6.fw.verbose: 0
net.inet6.ip6.fw.verbose_limit: 0
net.inet6.ipsec6.stats: Format:S,ipsecstat Length:12432 Dump:0x00000000000000000000000000000000...
net.inet6.ipsec6.def_policy: 1
net.inet6.ipsec6.esp_trans_deflev: 1
net.inet6.ipsec6.esp_net_deflev: 1
net.inet6.ipsec6.ah_trans_deflev: 1
net.inet6.ipsec6.ah_net_deflev: 1
net.inet6.ipsec6.ecn: 0
net.inet6.ipsec6.debug: 0
net.inet6.ipsec6.esp_randpad: -1
net.inet6.icmp6.stats: Format:S,icmp6stat Length:4328 Dump:0x00000000000000000000000000000000...
net.inet6.icmp6.rediraccept: 1
net.inet6.icmp6.redirtimeout: 600
net.inet6.icmp6.nd6_prune: 1
net.inet6.icmp6.nd6_delay: 5
net.inet6.icmp6.nd6_umaxtries: 3
net.inet6.icmp6.nd6_mmaxtries: 3
net.inet6.icmp6.nd6_useloopback: 1
net.inet6.icmp6.nodeinfo: 3
net.inet6.icmp6.errppslimit: 500
net.inet6.icmp6.nd6_maxnudhint: 0
net.inet6.icmp6.nd6_debug: 0
net.inet6.icmp6.nd6_prlist: Format:S,in6_defrouter Length:144 Dump:0x1c1e000000000000fe80000000000000...
net.alf.loglevel: 55
net.alf.perm: 0
net.alf.defaultaction: 1
net.alf.mqcount: 0
net.alf.stats_sflt_state: Format:S,sockwall_sflt_state Length:5760 Dump:0x84ec890848000000000000006c61756e...
net.alf.sw_pid_entry: Format:S,sw_pid_entry Length:2674 Dump:0x843d32100000000070000000a0200000...
net.alf.sw_app_entry: Format:S,sw_app_entry Length:624 Dump:0x0477f908000000006800000000000000...
net.smb.fs.version: 106600
net.smb.fs.loglevel: 0
net.smb.fs.tcpsndbuf: 131072
net.smb.fs.tcprcvbuf: 131072
debug.lowpri_IO_initial_window_msecs: 100
debug.lowpri_IO_window_inc: 50
debug.lowpri_max_window_msecs: 200
debug.lowpri_max_waiting_msecs: 200
debug.bpf_bufsize: 4096
debug.bpf_maxbufsize: 524288
debug.bpf_maxdevices: 256
debug.kextlog: 4083
debug.iokit: 0
hw.ncpu: 2
hw.byteorder: 1234
hw.memsize: 4294967296
hw.activecpu: 2
hw.physicalcpu: 2
hw.physicalcpu_max: 2
hw.logicalcpu: 2
hw.logicalcpu_max: 2
hw.cputype: 7
hw.cpusubtype: 4
hw.cpu64bit_capable: 1
hw.cpufamily: 2028621756
hw.cacheconfig: 2 1 2 0 0 0 0 0 0 0
hw.cachesize: 4026531840 32768 3145728 0 0 0 0 0 0 0
hw.pagesize: 4096
hw.busfrequency: 1064000000
hw.busfrequency_min: 1064000000
hw.busfrequency_max: 1064000000
hw.cpufrequency: 2530000000
hw.cpufrequency_min: 2530000000
hw.cpufrequency_max: 2530000000
hw.cachelinesize: 64
hw.l1icachesize: 32768
hw.l1dcachesize: 32768
hw.l2cachesize: 3145728
hw.tbfrequency: 1000000000
hw.packages: 1
hw.optional.floatingpoint: 1
hw.optional.mmx: 1
hw.optional.sse: 1
hw.optional.sse2: 1
hw.optional.sse3: 1
hw.optional.supplementalsse3: 1
hw.optional.sse4_1: 1
hw.optional.sse4_2: 0
hw.optional.x86_64: 1
hw.optional.aes: 0
machdep.cpu.max_basic: 13
machdep.cpu.max_ext: 2147483656
machdep.cpu.vendor: GenuineIntel
machdep.cpu.brand_string: Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz
machdep.cpu.family: 6
machdep.cpu.model: 23
machdep.cpu.extmodel: 1
machdep.cpu.extfamily: 0
machdep.cpu.stepping: 10
machdep.cpu.feature_bits: 3219913727 67691517
machdep.cpu.extfeature_bits: 537921536 1
machdep.cpu.signature: 67194
machdep.cpu.brand: 0
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM SSE3 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1
machdep.cpu.extfeatures: SYSCALL XD EM64T LAHF
machdep.cpu.logical_per_package: 2
machdep.cpu.cores_per_package: 2
machdep.cpu.microcode_version: 2567
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.sub_Cstates: 51520032
machdep.cpu.thermal.sensor: 1
machdep.cpu.thermal.dynamic_acceleration: 0
machdep.cpu.thermal.invariant_APIC_timer: 0
machdep.cpu.thermal.thresholds: 2
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.arch_perf.version: 2
machdep.cpu.arch_perf.number: 2
machdep.cpu.arch_perf.width: 40
machdep.cpu.arch_perf.events_number: 7
machdep.cpu.arch_perf.events: 0
machdep.cpu.arch_perf.fixed_number: 3
machdep.cpu.arch_perf.fixed_width: 40
machdep.cpu.cache.linesize: 64
machdep.cpu.cache.L2_associativity: 6
machdep.cpu.cache.size: 3072
machdep.cpu.tlb.inst.small: 128
machdep.cpu.tlb.inst.large: 8
machdep.cpu.tlb.data.small: 16
machdep.cpu.tlb.data.small_level1: 256
machdep.cpu.tlb.data.large: 16
machdep.cpu.tlb.data.large_level1: 32
machdep.cpu.address_bits.physical: 36
machdep.cpu.address_bits.virtual: 48
machdep.cpu.core_count: 2
machdep.cpu.thread_count: 2
machdep.pmap.hashwalks: 9692265
machdep.pmap.hashcnts: 9979915
machdep.pmap.hashmax: 17
machdep.pmap.kernel_text_ps: 2097152
machdep.memmap.Conventional: 4022472704
machdep.memmap.RuntimeServices: 299008
machdep.memmap.ACPIReclaim: 81920
machdep.memmap.ACPINVS: 2211840
machdep.memmap.PalCode: 0
machdep.memmap.Reserved: 268460032
machdep.memmap.Unusable: 0
machdep.memmap.Other: 0
security.mac.sandbox.backtraces: 0
security.mac.max_slots: 7
security.mac.labelvnodes: 0
security.mac.mmap_revocation: 0
security.mac.mmap_revocation_via_cow: 0
security.mac.device_enforce: 1
security.mac.file_enforce: 0
security.mac.iokit_enforce: 0
security.mac.pipe_enforce: 1
security.mac.posixsem_enforce: 1
security.mac.posixshm_enforce: 1
security.mac.proc_enforce: 1
security.mac.socket_enforce: 1
security.mac.system_enforce: 1
security.mac.sysvmsg_enforce: 1
security.mac.sysvsem_enforce: 1
security.mac.sysvshm_enforce: 1
security.mac.vm_enforce: 1
security.mac.vnode_enforce: 1
appleprofile.allow_new_clients: 1
appleprofile.enable_profiling: 0
appleprofile.max_special_alloc: 1006266368
appleprofile.current_special_alloc: 0
appleprofile.actions.registered_actions: 6
appleprofile.actions.callstack.default_continuous_buffer_size: 2097152
appleprofile.actions.callstack.max_memory: 33554432
appleprofile.actions.kevent.default_continuous_buffer_size: 5242880
appleprofile.actions.kevent.max_memory: 268435456
appleprofile.actions.register_state.default_continuous_buffer_size: 2097152
appleprofile.actions.register_state.max_memory: 33554432
appleprofile.actions.threadinfo.default_continuous_buffer_size: 1048576
appleprofile.actions.threadinfo.max_memory: 88080384
appleprofile.actions.timestamp.default_continuous_buffer_size: 524288
appleprofile.actions.timestamp.max_memory: 33554432
appleprofile.triggers.poll_interval: 100
appleprofile.triggers.max_access_wait_per_core: 1000000
appleprofile.triggers.max_access_wait_total: 1000000
appleprofile.pmcs.cur_sys_reservations: 0
appleprofile.pmcs.max_sys_reservations: 20
appleprofile.pmcs.cur_task_reservations: 0
appleprofile.pmcs.max_task_reservations: 20
appleprofile.pmcs.cur_thread_reservations: 0
appleprofile.pmcs.max_thread_reservations: 20
| | |
Additions when specifying -a
| vfs.nfs has 0 mounted instances
|
| vfs.unionfs has 0 mounted instances
|
| vfs.devfs has 0 mounted instances
|
| Format | Length | Dump
|
| kern.file | S,filehead | 28372 | 0x50579c08d09d1e0aecdf8500030
|
| kern.ipc.mbstat | S,mbstat | 580 | 0xb004000088030000000000002
|
| kern.ipc.mb_stat | S,mb_stat | 960 | 0x07000000000000006d62756
|
| vfs.generic.vfsidlist | S,fsid | 72 | 0x0200000e1100000004354d
|
| net.local.stream.pcblist | S,xunpcb | 86916 | 0x18000000960000
|
| net.local.stream.pcblist64 | S,xunpcb64 | 91272 | 0x1800000095
|
| net.local.dgram.pcblist | S,xunpcb | 15780 | 0x180000009500000
|
| net.local.dgram.pcblist64 | S,xunpcb64 | 16700 | 0x18000000950
|
| net.inet.ip.stats | S,ipstat | 116 | 0x1e081600000000000000000
|
| ip.linklocal.stat | S,ip_linklocal_stat | 16 | 0x1992
|
| icmp.stats | S,icmpstat | 368 | 0x5706000000000000000
|
| igmp.stats | S,igmpstat | 36 | 0x00000000000000000000
|
| tcp.stats | S,tcpstat | 352 | 0x85710000ea01000008720
|
| tcp.pcblist | S,xtcpcb | 10528 | 0x180000001500000081
|
| tcp.pcblist64 | S,xtcpcb64 | 9488 | 0x180000001500000
|
| udp.stats | S,udpstat | 44 | 0x83c5000000000000000000
|
| udp.out_sw_cksum_bytes: 1339817
|
| udp.pcblist64 | S,xinpcb64 | 15908 | 0x180000003d0000
|
| ipsec.stats | S,ipsecstat | 12432 | 0x000000000000000
|
| raw.pcblist | S,xinpcb | 368 | 0x18000000010000007100
|
| raw.pcblist64 | S,xinpcb64 | 308 | 0x1800000001000000
|
| net.key.pfkeystat | S,pfkeystat | 4240 | 0x0000000000000000000
|
| net.inet6.ip6.stats | S,ip6stat | 3200 | 0xad0c000000000000000
|
| 6.ip6.rip6stats | S,rip6stat | 56 | 0x0000000000000000
|
| 6.ipsec6.stats | S,ipsecstat | 12432 | 0x0000000000000
|
| 6.icmp6.stats | S,icmp6stat | 4328 | 0x000000000000000
|
| 6.icmp6.nd6_prlist | S,in6_defrouter | 144 | 0x1c1e000
|
| net.alf.stats_sflt_state | S,sockwall_sflt_state | 5760 | 0x84
|
| .sw_pid_entry | S,sw_pid_entry | 2674 | 0x843d321000000
|
| .sw_app_entry | S,sw_app_entry | 624 | 0x0477f908000000
|