processus

19/10/2021

list containerName + pid

for i in $(docker container ls --format "{{.ID}}"); do docker inspect -f '{{.State.Pid}} {{.Name}}' $i; done

list all processes of group

ps -fH -g 12345

list all processes

pstree -p

Raccourcis