mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
cgls: visually separate processes from cgroups
Let's show them in grey, since we generally want to focus on showing the cgroups much less than the processes in them.
This commit is contained in:
parent
74d8ccd451
commit
a2e361dc27
@ -71,7 +71,7 @@ static void show_pid_array(
|
||||
else
|
||||
printf("%s%s", prefix, special_glyph(((more || i < n_pids-1) ? SPECIAL_GLYPH_TREE_BRANCH : SPECIAL_GLYPH_TREE_RIGHT)));
|
||||
|
||||
printf("%*"PID_PRI" %s\n", pid_width, pids[i], strna(t));
|
||||
printf("%s%*"PID_PRI" %s%s\n", ansi_grey(), pid_width, pids[i], strna(t), ansi_normal());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user