]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
tools/lscgroup: add support status for the tool
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Fri, 13 May 2022 15:17:39 +0000 (20:47 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 16 May 2022 15:17:35 +0000 (09:17 -0600)
lscgroup currently doesn't support the cgroupv2 filesystem.  Add the
warning about the support status in the help.

Fixes: https://github.com/libcgroup/libcgroup/issues/50
Suggested-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
src/tools/lscgroup.c

index 93fb3d7cba3b8d30ccd5dec7bcaa9e396a9f1001..577973786c1ed26651c930d86b57ebeb974ca5f9 100644 (file)
@@ -48,6 +48,7 @@ static void usage(int status, const char *program_name)
        info("  -g <controllers>:<path> Control group to be ");
        info("displayed (-g is optional)\n");
        info("  -h, --help                      Display this help\n");
+       info("(Note: currently supported on cgroups v1 only)\n");
 }
 
 /*