summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2015-07-29 02:34:25 +0000
committerimp <imp@FreeBSD.org>2015-07-29 02:34:25 +0000
commit5f3e1e3c1b0e52c8c7e437b0dc3a55fbd40e24a9 (patch)
tree88906ba367a495dc54601fa5132ee65b7f4c3d8c /share/man
parent44267026a04d5bba6872796d13bd9f9e83d859fe (diff)
downloadFreeBSD-src-5f3e1e3c1b0e52c8c7e437b0dc3a55fbd40e24a9.zip
FreeBSD-src-5f3e1e3c1b0e52c8c7e437b0dc3a55fbd40e24a9.tar.gz
Teach sysctl about the new optional suffix after IK to specify
precision. Update input as well. Add IK to the manual (it was missing completely). Differential Revision: https://reviews.freebsd.org/D3181
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/sysctl.952
1 files changed, 25 insertions, 27 deletions
diff --git a/share/man/man9/sysctl.9 b/share/man/man9/sysctl.9
index cdf0592..51ab5d7 100644
--- a/share/man/man9/sysctl.9
+++ b/share/man/man9/sysctl.9
@@ -318,35 +318,33 @@ which specifies the format of the OID in a symbolic way.
This format is used as a hint by
.Xr sysctl 8
to apply proper data formatting for display purposes.
-Currently used format names are:
-.Dq N
-for node,
-.Dq A
-for
-.Li "char *" ,
-.Dq I
-for
-.Li "int" ,
-.Dq IU
-for
-.Li "unsigned int" ,
-.Dq L
-for
-.Li "long" ,
-.Dq LU
-for
-.Li "unsigned long" ,
-.Dq Q
-for
-.Li "quad_t" ,
-.Dq QU
-for
+.Pp
+Current formats:
+.Bl -tag -width "S,TYPE" -compact -offset indent
+.It Cm N
+node
+.It Cm A
+.Li "char *"
+.It Cm I
+.Li "int"
+.It Cm IK Ns Op Ar n
+temperature in Kelvin, multiplied by an optional single digit
+power of ten scaling factor: 1 (default) gives deciKelvin, 0 gives Kelvin, 3
+gives milliKelvin
+.It Cm IU
+.Li "unsigned int"
+.It Cm L
+.Li "long"
+.It Cm LU
+.Li "unsigned long"
+.It Cm Q
+.Li "quad_t"
+.It Cm QU
.Li "u_quad_t"
-and
-.Dq S,TYPE
-for
+.It Cm "S,TYPE"
.Li "struct TYPE"
-structures.
+structures
+.El
.It Fa descr
A pointer to a textual description of the OID.
.El
OpenPOWER on IntegriCloud