Skip to content

Commit cbc4237

Browse files
committed
Document CCGROUP column
1 parent 12fd2b1 commit cbc4237

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

htop.1.in

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,22 @@ The I/O rate of write(2) in bytes per second, for the process.
488488
The I/O rate, IO_READ_RATE + IO_WRITE_RATE (see above).
489489
.TP
490490
.B CGROUP
491-
Which cgroup the process is in.
491+
Which cgroup the process is in. For a shortened view see the CCGROUP column below.
492+
.TP
493+
.B CCGROUP
494+
Shortened view of the cgroup name that the process is in.
495+
This performs some pattern-based replacements to shorten the displayed string and thus condense the information.
496+
\fB/system.slice\fR is shortened to \fB/[S]\fR
497+
\fB/user.slice\fR is shortened to \fB/[U]\fR
498+
\fB/user-*.slice\fR is shortened to \fB/[U:*]\fR (directly preceeding \fB/[U]\fR before dropped)
499+
\fB/machine.slice\fR is shortened to \fB/[M]\fR
500+
\fB/machine-*.scope\fR is shortened to \fB/[SNC:*]\fR (SNC: systemd nspawn container), uppercase for the monitor
501+
\fB/lxc.monitor.*\fR is shortened to \fB/[LXC:*]\fR
502+
\fB/lxc.payload.*\fR is shortened to \fB/[lxc:*]\fR
503+
\fB/*.scope\fR is shortened to \fB/!*\fR
504+
\fB/*.service\fR is shortened to \fB/*\fR (suffix removed)
505+
506+
Encountered escape sequences (e.g. from systemd) inside the cgroup name are not decoded.
492507
.TP
493508
.B OOM
494509
OOM killer score.

0 commit comments

Comments
 (0)