]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
tools/lssubsys: add support status for the tool
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Fri, 13 May 2022 15:17:33 +0000 (20:47 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 16 May 2022 15:17:35 +0000 (09:17 -0600)
lssubsys currently doesn't support the cgroups v2 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/lssubsys.c

index f53b0425e60a94a48accca32b61a2651abe6ac41..7741146f9aa7cffdf4360284c5dbc1d34e78bdc2 100644 (file)
@@ -45,6 +45,7 @@ static void usage(int status, const char *program_name)
        info("hierarchies\n");
        info("  -m, --mount-points              Display mount points\n");
        info("  -M, --all-mount-points  Display all mount points\n");
+       info("(Note: currently supported on cgroups v1 only)\n");
 }
 
 static int print_controller_mount(const char *controller, int flags,