diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/sysctl.2 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/libc/sys/sysctl.2 b/lib/libc/sys/sysctl.2 index a26c4b269d5..e5e7ef07ef0 100644 --- a/lib/libc/sys/sysctl.2 +++ b/lib/libc/sys/sysctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.2,v 1.14 2018/11/06 13:16:54 otto Exp $ +.\" $OpenBSD: sysctl.2,v 1.15 2018/11/17 23:10:07 cheloha Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: November 6 2018 $ +.Dd $Mdocdate: November 17 2018 $ .Dt SYSCTL 2 .Os .Sh NAME @@ -429,6 +429,7 @@ information. .It Dv KERN_CONSDEV Ta "dev_t" Ta "no" .It Dv KERN_CPTIME Ta "long[CPUSTATES]" Ta "no" .It Dv KERN_CPTIME2 Ta "u_int64_t[CPUSTATES]" Ta "no" +.It Dv KERN_CPUSTATS Ta "struct cpustats" Ta "no" .It Dv KERN_DNSJACKPORT Ta "integer" Ta "yes" .It Dv KERN_DOMAINNAME Ta "string" Ta "yes" .It Dv KERN_FILE Ta "struct kinfo_file" Ta "no" @@ -561,6 +562,14 @@ Similar to .Dv KERN_CPTIME , but obtains information from only the single CPU specified by the third level name given. +.It Dv KERN_CPUSTATS +A +.Li struct cpustats +structure is returned. +This structure contains the array described in +.Dv KERN_CPTIME2 +and a bit mask indicating the status of the CPU specified by the +third level name. .It Dv KERN_DNSJACKPORT Pq Va kern.dnsjackport When non-zero, the localhost port to which all DNS sockets should be redirected. |