summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-05-22 01:48:40 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-22 01:48:40 +0200
commit30edf1161600fe1b18f30264f05b4f602eb0e8a3 (patch)
tree7165b55da518df729cc7d727d5d6bb145f0c5eec
parentfec2aa2f9ee0748fdb7148613b8a359d246cc32a (diff)
cgtop: change default depth to 3
https://bugs.freedesktop.org/show_bug.cgi?id=49778
-rw-r--r--man/systemd-cgtop.xml2
-rw-r--r--src/cgtop/cgtop.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/man/systemd-cgtop.xml b/man/systemd-cgtop.xml
index 9322fb0920..14d47353cc 100644
--- a/man/systemd-cgtop.xml
+++ b/man/systemd-cgtop.xml
@@ -166,7 +166,7 @@
the root group is monitored, for 1
only the first level of control groups
is monitored, and so on. Defaults to
- 2.</para></listitem>
+ 3.</para></listitem>
</varlistentry>
</variablelist>
diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c
index cc7a99f3df..ddb57094b1 100644
--- a/src/cgtop/cgtop.c
+++ b/src/cgtop/cgtop.c
@@ -54,7 +54,7 @@ typedef struct Group {
uint64_t io_input_bps, io_output_bps;
} Group;
-static unsigned arg_depth = 2;
+static unsigned arg_depth = 3;
static usec_t arg_delay = 1*USEC_PER_SEC;
static enum {