首页 > 其他 > 详细

pstree

时间:2021-01-21 21:14:50      阅读:6      评论:0      收藏:0      [点我收藏+]

 

 

[email protected]:~/onlyGvisor# ps -elf | grep docker
4 S root     926586      1  0  80   0 - 1393268 futex_ Jan14 ?      00:09:48 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
0 S root     941940  22795  0  80   0 - 177146 futex_ Jan19 ?       00:00:08 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/f1663b36dc38560d1c77639273944c2da612e5c11571bdeb717d371a78b06486 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runsc-kvm
0 S root     955540  22795  0  80   0 - 176986 futex_ 20:00 ?       00:00:00 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/3ecb16cbc12e749f686454f207ea6ce39238a845f3ec0bf8a219ba4dab6ab315 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runsc-kvm
4 S root     955554 955540  0  80   0 - 185601 futex_ 20:00 ?       00:00:00 runsc-gofer --root=/var/run/docker/runtime-runsc-kvm/moby --log=/run/containerd/io.containerd.runtime.v1.linux/moby/3ecb16cbc12e749f686454f207ea6ce39238a845f3ec0bf8a219ba4dab6ab315/log.json --log-format=json --platform=kvm --log-fd=3 gofer --bundle /run/containerd/io.containerd.runtime.v1.linux/moby/3ecb16cbc12e749f686454f207ea6ce39238a845f3ec0bf8a219ba4dab6ab315 --spec-fd=4 --mounts-fd=5 --io-fds=6 --io-fds=7 --io-fds=8 --io-fds=9 --apply-caps=false --setup-root=false
4 S nobody   955562 955540  0  80   0 - 68452014674 futex_ 20:00 ?  00:00:00 runsc-sandbox --root=/var/run/docker/runtime-runsc-kvm/moby --log=/run/containerd/io.containerd.runtime.v1.linux/moby/3ecb16cbc12e749f686454f207ea6ce39238a845f3ec0bf8a219ba4dab6ab315/log.json --log-format=json --platform=kvm --log-fd=3 boot --bundle=/run/containerd/io.containerd.runtime.v1.linux/moby/3ecb16cbc12e749f686454f207ea6ce39238a845f3ec0bf8a219ba4dab6ab315 --controller-fd=4 --mounts-fd=5 --spec-fd=6 --start-sync-fd=7 --io-fds=8 --io-fds=9 --io-fds=10 --io-fds=11 --device-fd=12 --stdio-fds=13 --stdio-fds=14 --stdio-fds=15 --pidns=true --cpu-num 64 3ecb16cbc12e749f686454f207ea6ce39238a845f3ec0bf8a219ba4dab6ab315
0 S root     955664 952331  0  80   0 -  1418 pipe_r 20:00 pts/0    00:00:00 grep --color=auto docker
[email protected]:~/onlyGvisor# pstree -hp 955562
exe(955562)─┬─{exe}(955577)
            ├─{exe}(955578)
            ├─{exe}(955579)
            ├─{exe}(955580)
            ├─{exe}(955588)
            ├─{exe}(955589)
            ├─{exe}(955632)
            ├─{exe}(955633)
            ├─{exe}(955634)
            ├─{exe}(955637)
            ├─{exe}(955638)
            ├─{exe}(955639)
            ├─{exe}(955640)
            ├─{exe}(955641)
            ├─{exe}(955642)
            └─{exe}(955661)

 

pstree

原文:https://www.cnblogs.com/dream397/p/14310141.html

(0)
(0)
   
举报
评论 一句话评论(0
© 2014 bubuko.com 版权所有 鲁ICP备09046678号-4
打开技术之扣,分享程序人生!
             

鲁公网安备 37021202000002号