From 1e913bcba3b7361d5090e3cb55098c8cdac0748a Mon Sep 17 00:00:00 2001 From: Umut Tezduyar Date: Tue, 2 Apr 2013 18:52:16 +0200 Subject: cgtop: optionally show CPU usage as time and become stdout sensitive --- man/systemd-cgtop.xml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'man/systemd-cgtop.xml') diff --git a/man/systemd-cgtop.xml b/man/systemd-cgtop.xml index ad1f0f8c4d..c5bb489869 100644 --- a/man/systemd-cgtop.xml +++ b/man/systemd-cgtop.xml @@ -49,7 +49,8 @@ - systemd-cgtop OPTIONS + systemd-cgtop + OPTIONS @@ -58,10 +59,14 @@ systemd-cgtop shows the top control groups of the local Linux control group - hierarchy, ordered by their CPU, memory and disk I/O load. The + hierarchy, ordered by their CPU, memory, or disk I/O load. The display is refreshed in regular intervals (by default every 1s), similar in style to - top1. + top1. + If systemd-cgtop is not connected + to a tty, only one iteration is performed and no + columns headers are printed. This mode is suitable for + scripting. Resource usage is only accounted for control groups in the relevant hierarchy, i.e. CPU usage is -- cgit v1.2.3-54-g00ecf