CmdID

CmdID / Commands

systemctl-whoami

Show units that processes belong to. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Show units that processes belong to. If no PID is specified, shows the unit the systemctl command itself is invoked in.

Show the unit of the current shell (where systemctl is running)

systemctl whoamiIdentify

Show the unit of the current shell in user service manager (services managed for your login session)

systemctl whoami --userIdentify

Show the unit a specific process belongs to

systemctl whoami process_idIdentify

Show the units for multiple processes

systemctl whoami process_id1 process_id2 ...Identify