What do curly braces around a process in pstree mean?

The man page explains what the brackets mean (this applies to threads), but I wonder what the simple means .

From here I see that auditdand nodelook like this.

❯ pstree
init─┬─agetty
     ├─atd
     ├─auditd───{auditd}
     ├─crond
     ├─dbus-daemon
     ├─dhclient
     ├─6*[mingetty]
     ├─ntpd
     ├─rsyslogd───3*[{rsyslogd}]
     ├─2*[sendmail]
     ├─sshd─┬─sshd───sshd───zsh───tmux
     │      └─sshd───sshd───zsh───man───sh───sh───less
     ├─tmux─┬─2*[zsh]
     │      ├─zsh───node───{node}
     │      └─zsh───pstree
     └─udevd───2*[udevd]

My best guess is that this means that they are locked during input.

+5
source share
1 answer

n * [{name}] means a group of n threads. If only one stream exists, pstree uses {name}

{auditd} <=> 1*[{auditd}]

For a group of threads, pstree uses n * [{name}]:

├─rsyslogd───3*[{rsyslogd}]

equipvalent to:

├─rsyslogd─┬─{rsyslogd}
           ├─{rsyslogd}
           └─{rsyslogd}

use the pstree -a command to see different ones.

+7
source

All Articles