From 06390e22c92c626545ec4841c1dfdd25632efa08 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 5 Jun 2023 18:40:26 +0200 Subject: cgls/cgtop: spell field/column "CGroup" rather than "Control Group" In the documentation we usually spell the concept "control group". Internally in code we usually call it "cgroup" or "CGroup". In systemctl output we called the field "CGroup" so far, i.e. a capitalized version of the internal name. This is of course very unsystematic. Let's clean this up a bit: let's now say: * in docs, continue to spell it out "control groups" * in brief output call it "CGroup" * internally call it "cgroup" or "CGroup" Fixes: #14429 --- src/cgtop/cgtop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cgtop') diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c index bb4f7a5ef0..987643f661 100644 --- a/src/cgtop/cgtop.c +++ b/src/cgtop/cgtop.c @@ -647,7 +647,7 @@ static void display(Hashmap *a) { printf("%s%s%-*s%s %s%7s%s %s%*s%s %s%8s%s %s%8s%s %s%8s%s%s\n", ansi_underline(), - arg_order == ORDER_PATH ? on : "", path_columns, "Control Group", + arg_order == ORDER_PATH ? on : "", path_columns, "CGroup", arg_order == ORDER_PATH ? off : "", arg_order == ORDER_TASKS ? on : "", arg_count == COUNT_PIDS ? "Tasks" : arg_count == COUNT_USERSPACE_PROCESSES ? "Procs" : "Proc+", -- cgit v1.2.3