version 1.82, 2014/06/13 19:09:07 |
version 1.90, 2015/07/11 16:47:49 |
|
|
.\" |
.\" |
.\" @(#)sysctl.3 8.4 (Berkeley) 5/9/95 |
.\" @(#)sysctl.3 8.4 (Berkeley) 5/9/95 |
.\" |
.\" |
.Dd June 13, 2014 |
.Dd July 11, 2015 |
.Dt SYSCTL 7 |
.Dt SYSCTL 7 |
.Os |
.Os |
.Sh NAME |
.Sh NAME |
Line 198 privilege may change the value. |
|
Line 198 privilege may change the value. |
|
.It hw.machine_arch string no |
.It hw.machine_arch string no |
.It hw.model string no |
.It hw.model string no |
.It hw.ncpu integer no |
.It hw.ncpu integer no |
|
.It hw.ncpuonline integer no |
.It hw.pagesize integer no |
.It hw.pagesize integer no |
.It hw.physmem integer no |
.It hw.physmem integer no |
.It hw.physmem64 quad no |
.It hw.physmem64 quad no |
.It hw.usermem integer no |
.It hw.usermem integer no |
.It hw.usermem64 quad no |
.It hw.usermem64 quad no |
.El |
.El |
.Pp |
|
.Bl -tag -width "123456" |
.Bl -tag -width "123456" |
.It Li hw.alignbytes ( HW_ALIGNBYTES ) |
.It Li hw.alignbytes ( HW_ALIGNBYTES ) |
Alignment constraint for all possible data types. |
Alignment constraint for all possible data types. |
Line 249 The machine CPU class. |
|
Line 249 The machine CPU class. |
|
.It Li hw.model ( HW_MODEL ) |
.It Li hw.model ( HW_MODEL ) |
The machine model. |
The machine model. |
.It Li hw.ncpu ( HW_NCPU ) |
.It Li hw.ncpu ( HW_NCPU ) |
The number of CPUs. |
The number of CPUs configured. |
|
.It Li hw.ncpuonline ( HW_NCPUONLINE ) |
|
The number of CPUs online. |
.It Li hw.pagesize ( HW_PAGESIZE ) |
.It Li hw.pagesize ( HW_PAGESIZE ) |
The software page size. |
The software page size. |
.It Li hw.physmem ( HW_PHYSMEM ) |
.It Li hw.physmem ( HW_PHYSMEM ) |
Line 277 privilege may change the value. |
|
Line 279 privilege may change the value. |
|
.It kern.argmax integer no |
.It kern.argmax integer no |
.It kern.boothowto integer no |
.It kern.boothowto integer no |
.It kern.boottime struct timeval no |
.It kern.boottime struct timeval no |
|
.It kern.buildinfo string no |
.\".It kern.bufq node not applicable |
.\".It kern.bufq node not applicable |
.It kern.ccpu integer no |
.It kern.ccpu integer no |
.It kern.clockrate struct clockinfo no |
.It kern.clockrate struct clockinfo no |
|
|
.Vt struct timeval |
.Vt struct timeval |
structure is returned. |
structure is returned. |
This structure contains the time that the system was booted. |
This structure contains the time that the system was booted. |
|
.It Li kern.buildinfo |
|
When the kernel is built, the build environment may optionally provide |
|
arbitrary information to be stored in this variable. |
.\" .It Li kern.bufq |
.\" .It Li kern.bufq |
.\" XXX: Undocumented. |
.\" XXX: Undocumented. |
.It Li kern.ccpu ( KERN_CCPU ) |
.It Li kern.ccpu ( KERN_CCPU ) |
Line 598 The fourth level name selects the System |
|
Line 604 The fourth level name selects the System |
|
.It KERN_SYSVIPC_SEM_INFO struct sem_sysctl_info |
.It KERN_SYSVIPC_SEM_INFO struct sem_sysctl_info |
.It KERN_SYSVIPC_SHM_INFO struct shm_sysctl_info |
.It KERN_SYSVIPC_SHM_INFO struct shm_sysctl_info |
.El |
.El |
.Pp |
|
.Bl -tag -width "123456" |
.Bl -tag -width "123456" |
.It Li KERN_SYSVIPC_MSG_INFO |
.It Li KERN_SYSVIPC_MSG_INFO |
Return information on the System V style message facility. |
Return information on the System V style message facility. |
|
|
.El |
.El |
.It Li kern.pool |
.It Li kern.pool |
Provides statistics about the |
Provides statistics about the |
.Xr pool 9 |
.Xr pool 9 |
and |
and |
.Xr pool_cache 9 |
.Xr pool_cache 9 |
subsystems. |
subsystems. |
Line 1190 protocol number, though this is not alwa |
|
Line 1195 protocol number, though this is not alwa |
|
.It net.inet6 IPv6 values yes |
.It net.inet6 IPv6 values yes |
.It net.key IPsec key management values yes |
.It net.key IPsec key management values yes |
.El |
.El |
.Pp |
|
.Bl -tag -width "123456" |
.Bl -tag -width "123456" |
.It Li net.route ( PF_ROUTE ) |
.It Li net.route ( PF_ROUTE ) |
.\" XXX really? |
.\" XXX really? |
Line 1222 The currently defined protocols and name |
|
Line 1226 The currently defined protocols and name |
|
.It arp keep integer yes |
.It arp keep integer yes |
.It arp log_movements integer yes |
.It arp log_movements integer yes |
.It arp log_permanent_modify integer yes |
.It arp log_permanent_modify integer yes |
|
.It arp log_unknown_network integer yes |
.It arp log_wrong_iface integer yes |
.It arp log_wrong_iface integer yes |
.It arp prune integer yes |
.It arp prune integer yes |
.It arp refresh integer yes |
.It arp refresh integer yes |
Line 1485 Perform TCP checksum on loopback. |
|
Line 1490 Perform TCP checksum on loopback. |
|
.It Li tcp.init_win |
.It Li tcp.init_win |
A value indicating the TCP initial congestion window. |
A value indicating the TCP initial congestion window. |
The valid range |
The valid range |
is 0 to 10 (maximum specified by draft-ietf-tcpm-initcwnd-08.txt), |
is 0 to 10 (maximum specified by RFC6928), |
with a default of 4 (approximately 4K per RFC3390). |
with a default of 4 (approximately 4K per RFC3390). |
.It Li tcp.init_win_local |
.It Li tcp.init_win_local |
Like |
Like |
Line 1615 The currently defined protocols and name |
|
Line 1620 The currently defined protocols and name |
|
.It ip6 accept_rtadv integer yes |
.It ip6 accept_rtadv integer yes |
.It ip6 anonportalgo.selected string yes |
.It ip6 anonportalgo.selected string yes |
.It ip6 anonportalgo.available string yes |
.It ip6 anonportalgo.available string yes |
.It ip6 anonportalgo.reserve struct yes |
.It ip6 anonportalgo.reserve struct yes |
.It ip6 anonportmax integer yes |
.It ip6 anonportmax integer yes |
.It ip6 anonportmin integer yes |
.It ip6 anonportmin integer yes |
.It ip6 auto_flowlabel integer yes |
.It ip6 auto_flowlabel integer yes |
|
|
and |
and |
.Dv SO_SNDBUF |
.Dv SO_SNDBUF |
options. |
options. |
|
.It Li proc.pid.rlimit.vmemoryuse ( PROC_PID_LIMIT_AS ) |
|
The maximum size (in bytes) which a process can obtain. |
|
.It Li proc.pid.rlimit.maxlwp ( PROC_PID_LIMIT_NTHR ) |
|
The maximum number of threads that cen be created and running at one time in |
|
the process. |
|
The first thread of each process is not counted against this. |
.El |
.El |
.Pp |
.Pp |
The fifth level name is one of |
The fifth level name is one of |
Line 2226 privilege may change the value. |
|
Line 2237 privilege may change the value. |
|
.It vm.uvmexp2 struct uvmexp_sysctl no |
.It vm.uvmexp2 struct uvmexp_sysctl no |
.It vm.vmmeter struct vmtotal no |
.It vm.vmmeter struct vmtotal no |
.El |
.El |
.Pp |
|
.Bl -tag -width "123456" |
.Bl -tag -width "123456" |
.It Li vm.anonmax ( VM_ANONMAX ) |
.It Li vm.anonmax ( VM_ANONMAX ) |
The percentage of physical memory which will be reclaimed |
The percentage of physical memory which will be reclaimed |
Line 2300 privilege may change the value. |
|
Line 2310 privilege may change the value. |
|
.It ddb.tee_msgbuf integer yes |
.It ddb.tee_msgbuf integer yes |
.It ddb.commandonenter string yes |
.It ddb.commandonenter string yes |
.El |
.El |
.Pp |
|
.Bl -tag -width "123456" |
.Bl -tag -width "123456" |
.It Li ddb.radix ( DDBCTL_RADIX ) |
.It Li ddb.radix ( DDBCTL_RADIX ) |
The input and output radix. |
The input and output radix. |
Line 2352 The available second level names are: |
|
Line 2361 The available second level names are: |
|
.El |
.El |
.Pp |
.Pp |
Available settings are detailed below. |
Available settings are detailed below. |
.Pp |
|
.Bl -tag -width "123456" |
.Bl -tag -width "123456" |
.It Li security.curtain |
.It Li security.curtain |
If non-zero, will filter return objects according to the user |
If non-zero, will filter return objects according to the user |
Line 2406 The available third and fourth level nam |
|
Line 2414 The available third and fourth level nam |
|
.It Li security.pax.segvguard.max_crashes integer yes |
.It Li security.pax.segvguard.max_crashes integer yes |
.It Li security.pax.segvguard.suspend_timeout integer yes |
.It Li security.pax.segvguard.suspend_timeout integer yes |
.El |
.El |
.Pp |
|
.Bl -tag -width "123456" |
.Bl -tag -width "123456" |
.It Li security.pax.aslr.enabled |
.It Li security.pax.aslr.enabled |
Enable PaX ASLR (Address Space Layout Randomization). |
Enable PaX ASLR (Address Space Layout Randomization). |