3826: Remove old cruft. Dry up OpenAndReadAll.
3826: Fix up CPU usage accounting.
3826: Add host-level network IO monitoring, and placeholder for task-level.
3826: Clean up cgroup id strings. Output stats for all interfaces.
3826: Use /proc/PID/net/dev to get container net stats.
3826: Print cumulative net io as well as interval io.
3826: Tweak log format.
3826: Remove duplicate log message, add missing crunchstat: log prefix.
3826: Skip net/dev lines with unexpected # tokens.
3826: Change cpu time logging format to match net traffic.
3826: Add a couple of easy unit tests.
3826: Look for stats files while polling, to get per-container stats that appear after first poll.
3826: Tweak memory stat log format to match cpu and net.
3826: Fix up block IO stats.
3826: Add TODO comment on FindStat.
3826: Move cpu stats into a function, fix interval reporting.
3826: Move cpu-counting into a function.
3826: Use correct variable Sscanf. CPU stats work again.
3826: Change FindStat to OpenStatFile to eliminate redundant Stat()
calls and races. Log every time we change our mind about where to read
a given statistic.
3826: Just modify lastSample maps in place, instead of returning the supplied pointer.