summaryrefslogtreecommitdiff
path: root/libpod/info_linux.go
Commit message (Collapse)AuthorAge
* Fix stuttersDaniel J Walsh2022-09-10
| | | | | | | | | | | | | | Podman adds an Error: to every error message. So starting an error message with "error" ends up being reported to the user as Error: error ... This patch removes the stutter. Also ioutil.ReadFile errors report the Path, so wrapping the err message with the path causes a stutter. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
* libpod: Move getCPUUtilization to info_linux.goDoug Rabson2022-08-24
| | | | | | | | | The Linux implementation uses /proc/stat - the FreeBSD equivalent is quite different where this information is exposed via sysctl. [NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson <dfr@rabson.org>
* libpod: Split out platform-specific code from hostInfoDoug Rabson2022-08-24
[NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson <dfr@rabson.org>