.TP
.BR \-t , " \-\-type " \fItype\fP
Display the specified \fItype\fP of namespaces only. The supported types are
-\fBmnt\fP, \fBnet\fP, \fBipc\fP, \fBuser\fP, \fBpid\fP and \fButs\fP. This
-option may be given more than once.
+\fBmnt\fP, \fBnet\fP, \fBipc\fP, \fBuser\fP, \fBpid\fP, \fButs\fP and
+\fBcgroup\fP. This option may be given more than once.
.TP
.BR \-u , " \-\-notruncate"
Do not truncate text in columns.
LSNS_ID_PID,
LSNS_ID_UTS,
LSNS_ID_IPC,
- LSNS_ID_USER
+ LSNS_ID_USER,
+ LSNS_ID_CGROUP
};
static char *ns_names[] = {
[LSNS_ID_PID] = "pid",
[LSNS_ID_UTS] = "uts",
[LSNS_ID_IPC] = "ipc",
- [LSNS_ID_USER] = "user"
+ [LSNS_ID_USER] = "user",
+ [LSNS_ID_CGROUP] = "cgroup"
};
struct lsns_namespace {
fputs(_(" -p, --task <pid> print process namespaces\n"), out);
fputs(_(" -r, --raw use the raw output format\n"), out);
fputs(_(" -u, --notruncate don't truncate text in columns\n"), out);
- fputs(_(" -t, --type <name> namespace type (mnt, net, ipc, user, pid, uts)\n"), out);
+ fputs(_(" -t, --type <name> namespace type (mnt, net, ipc, user, pid, uts, cgroup)\n"), out);
fputs(USAGE_SEPARATOR, out);
fputs(USAGE_HELP, out);