Package hoststats reads real host CPU and memory usage from a procfs
directory. The host's /proc/stat and /proc/meminfo already reflect the host
(not the container cgroup) even from inside a container, so reading the
process's own /proc works out of the box; binding the host's procfs to
/host/proc is an optional, explicit alternative (e.g. under hardened runtimes
that mask /proc). It is meaningful only for the node the process runs on.
Read samples host CPU (over a short interval) and memory from procPath (e.g.
"/proc" or a bound "/host/proc"). Returns an error if the procfs files can't
be read or parsed.