• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Question Why does systemd-cgtop batch mode only output the result of the 1st iteration?

Bitpalast

Plesk addicted!
Plesk Guru
Why does

/usr/bin/systemd-cgtop -c -n2 -b > test.txt

not send the second iteration or at least the first and second iteration to the file, but only the first and then quits. It seems that "batch mode" does not make any difference to the command. Only in interactive mode I get to the nth (2nd) iteration.
 
Back
Top