moby--moby/pkg/sysinfo
Doug Davis ff42a2eb41 Only show global warnings once
Upon each container create I'm seeing these warning **every** time in the
daemon output:
```
WARN[0002] Your kernel does not support swap memory limit
WARN[0002] Your kernel does not support cgroup rt period
WARN[0002] Your kernel does not support cgroup rt runtime
```
Showing them for each container.create() fills up the logs and encourages
people to ignore the output being generated - which means its less likely
they'll see real issues when they happen.  In short, I don't think we
need to show these warnings more than once, so let's only show these
warnings at daemon start-up time.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-11-30 10:11:42 -08:00
..
README.md Add some basic doc for SysInfo 2015-03-26 23:05:07 -04:00
numcpu.go Fix wrong CPU count after CPU hot-plugging on Windows 2016-06-25 22:20:29 -07:00
numcpu_linux.go Fix s390x build failure by removing golang.org/x/sys 2016-06-30 06:32:32 -07:00
numcpu_windows.go Swap usage of LazyDLL and LoadDLL to LazySystemDLL. 2016-11-22 14:57:11 -08:00
sysinfo.go Implementing support for --cpu-rt-period and --cpu-rt-runtime so that 2016-10-26 11:33:06 -04:00
sysinfo_linux.go Only show global warnings once 2016-11-30 10:11:42 -08:00
sysinfo_linux_test.go cleanup sysinfo package 2015-06-17 20:41:14 -04:00
sysinfo_solaris.go Implementing support for --cpu-rt-period and --cpu-rt-runtime so that 2016-10-26 11:33:06 -04:00
sysinfo_test.go Validate --cpuset-cpus, --cpuset-mems 2015-09-27 16:38:58 +02:00
sysinfo_unix.go make more pkgs support darwin 2016-08-10 22:56:05 +08:00
sysinfo_windows.go make more pkgs support darwin 2016-08-10 22:56:05 +08:00

README.md

SysInfo stores information about which features a kernel supports.