<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><div> </div></span><div>"systemd-cgtop -n2 -b > test" is not showing cpu usage, neither "var=$(systemd-cgtop -n2 -b)  </div><div><br></div></div></div></div></blockquote><div><br></div><div>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" ?</div></div><br></div></div>