Implementing CPU Load goroutine requires the user to call the goroutine from the main file.
go CPULoadCalc()
For multi-cpu env divide cpuLoad by cpu count.
Same code can be modified to calculate memory for docker/kubernetes container.
Path: /sys/fs/cgroup/memory/memory.usage_in_bytes
refer: https://www.kernel.org/doc/Documentation/cgroup-v1/memory.txt