cpu_perc: Port to OpenBSD

In OpenBSD the CPU usage in percent is now computed using KERN_CPTIME
sysctl.
This commit is contained in:
Aaron Marcher
2018-05-06 17:48:37 +02:00
parent efb41724b5
commit 2b82bf0248
2 changed files with 36 additions and 1 deletions

2
README
View File

@ -62,5 +62,5 @@ Porting to OpenBSD is the current goal before thinking about a release.
The following functions are not portable at the moment:
- wifi_{perc,essid}
- cpu_{perc,iowait}
- cpu_iowait
- entropy