plugin: get cpu_count from sched_getaffinity

Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch>
This commit is contained in:
Yoan Blanc
2018-07-18 08:02:53 +02:00
parent 06593498cd
commit 04882074e1
3 changed files with 12 additions and 3 deletions

1
changelog/9.bugfix Normal file
View File

@@ -0,0 +1 @@
Fix issue of virtualized or containerized environments not reporting the number of CPUs correctly