Systemd doesn't natively keep track of resource usage. I would recommend running the Prometheus to do that.
If you are using Kubernetes you can see these docs: https://coreos.com/blog/prometheus-and-kubernetes-up-and-running.html Otherwise you can see other instructions here: https://github.com/prometheus/node_exporter Brandon On Mon, Dec 26, 2016 at 12:30 AM <[email protected]> wrote: > Want to get resource usage of each running unit in the coreos, use the > golang code , how to obtain, what API ~ Thank you for any answer, thank > you very much~ >
