1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--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
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
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
sysinfo_unix.go
sysinfo_windows.go

SysInfo stores information about which features a kernel supports.