diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-12-19 09:11:22 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-12-19 09:11:22 +0000 |
commit | 08fb42f944c4f0a3620b3aaa6cf1dbcdbccb18d0 (patch) | |
tree | acff5f9c986964cbfa15fde12272c44bf4460304 | |
parent | 22ed6261abca4d60bf3090807501b6fb15cac426 (diff) |
document hw.{cpuspeed,setperf} sysctls;
tweak and ok tedu@
-rw-r--r-- | lib/libc/gen/sysctl.3 | 10 | ||||
-rw-r--r-- | sbin/sysctl/sysctl.8 | 4 |
2 files changed, 12 insertions, 2 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 index 39ebe612474..afdef47d815 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/gen/sysctl.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.3,v 1.116 2003/12/04 15:08:04 markus Exp $ +.\" $OpenBSD: sysctl.3,v 1.117 2003/12/19 09:11:20 jmc Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -270,6 +270,7 @@ privileges may change the value. .Bl -column "Second level nameXXXXXX" integerXXX -offset indent .It Sy Second level name Type Changeable .It Dv HW_BYTEORDER No " integer no" +.It Dv HW_CPUSPEED No " integer no" .It Dv HW_DISKCOUNT No " integer no" .It Dv HW_DISKNAMES No " string no" .It Dv HW_DISKSTATS No " struct no" @@ -279,11 +280,15 @@ privileges may change the value. .It Dv HW_PAGESIZE No " integer no" .It Dv HW_PHYSMEM No " integer no" .It Dv HW_SENSORS No " struct no" +.It Dv HW_SETPERF No " integer yes" .It Dv HW_USERMEM No " integer no" .El .Bl -tag -width "123456" .It Dv HW_BYTEORDER The byteorder (4321 or 1234). +.It Dv HW_CPUSPEED +The CPU frequency +.Pq in MHz . .It Dv HW_DISKCOUNT The number of disks currently attached to the system. .It Dv HW_DISKNAMES @@ -306,6 +311,9 @@ The bytes of physical memory. An array of .Li struct sensor structures containing information from the hardware monitoring sensors. +.It Dv HW_SETPERF +Current CPU performance +.Pq percentage . .It Dv HW_USERMEM The bytes of non-kernel memory. .El diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8 index 84737672388..6532fa5f926 100644 --- a/sbin/sysctl/sysctl.8 +++ b/sbin/sysctl/sysctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.8,v 1.110 2003/12/02 23:16:29 markus Exp $ +.\" $OpenBSD: sysctl.8,v 1.111 2003/12/19 09:11:21 jmc Exp $ .\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $ .\" .\" Copyright (c) 1993 @@ -302,6 +302,8 @@ privilege can change the value. .It hw.disknames string no .It hw.diskcount integer no .It hw.sensors struct no +.It hw.cpuspeed integer no +.It hw.setperf integer yes .It machdep.console_device dev_t no .It machdep.unaligned_print integer yes (alpha only) .It machdep.unaligned_fix integer yes (alpha only) |