[systemd-devel] systemd-cgtop vs docker-stats

Tiago Alves tiagoalves83 at gmail.com
Sun Dec 6 16:09:43 PST 2015


>
>
> "systemd-cgtop -n2 -b > test" is not showing cpu usage, neither
> "var=$(systemd-cgtop -n2 -b)
>
>
It seems that systemd 225 can now handle shell stdout redirection (showing
CPU usage) like "systemd-cgtop -n2 -b > test", but it is outputting every
interaction to the file. It is possible to just get the last, like "top -n2
> test" ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20151206/a95e4137/attachment.html>


More information about the systemd-devel mailing list