moby/pkg/sysinfo
Tobias Klauser ba8a15694a Use functions from x/sys/unix to get number of CPUs on Linux
Use Getpid and SchedGetaffinity from golang.org/x/sys/unix to get the
number of CPUs in numCPU on Linux.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2019-06-18 19:26:56 +02:00
..
numcpu.go Add canonical import comment 2018-02-05 16:51:57 -05:00
numcpu_linux.go Use functions from x/sys/unix to get number of CPUs on Linux 2019-06-18 19:26:56 +02:00
numcpu_windows.go Use functions from x/sys/unix to get number of CPUs on Linux 2019-06-18 19:26:56 +02:00
README.md Add some basic doc for SysInfo 2015-03-26 23:05:07 -04:00
sysinfo.go Use functions from x/sys/unix to get number of CPUs on Linux 2019-06-18 19:26:56 +02:00
sysinfo_linux.go Start containers in their own cgroup namespaces 2019-05-07 10:22:16 -07:00
sysinfo_linux_test.go Start containers in their own cgroup namespaces 2019-05-07 10:22:16 -07:00
sysinfo_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
sysinfo_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
sysinfo_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00

SysInfo stores information about which features a kernel supports.