diff --git a/homework/linux.txt b/homework/linux.txt index e69de29b..ee82516a 100644 --- a/homework/linux.txt +++ b/homework/linux.txt @@ -0,0 +1,61 @@ +cat selected.txt commands.txt +588 processes.txt +230:nvidia-+ 1297 0.0 0.0 3328 1920 ? Ss 15:18 0:00 /usr/bin/nvidia-persistenced --user nvidia-persistenced --no-persistence-mode --verbose +237:root 1546 0.0 0.0 114780 22880 ? Ssl 15:18 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal +238:root 1557 0.0 0.1 2542956 49236 ? Ssl 15:18 0:06 /usr/bin/containerd +243:root 1868 0.0 0.2 3157384 80064 ? Ssl 15:18 0:05 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock +248:root 2504 0.0 0.0 1239212 14472 ? Sl 15:18 0:00 /usr/bin/containerd-shim-runc-v2 -namespace moby -id e0611043538dcb0594332826506082cc8a5bc6180ce572abc6860d1b87533d9f -address /run/containerd/containerd.sock +249:root 2505 0.0 0.0 1238892 14620 ? Sl 15:18 0:01 /usr/bin/containerd-shim-runc-v2 -namespace moby -id 7f917234cbcf542fe1108d81dd2c6b9919f67573f3cb274ed10f9aa938ce2107 -address /run/containerd/containerd.sock +250:root 2551 0.0 0.0 7460 3520 ? Ss 15:18 0:00 /bin/bash /assets/init-container +251:root 2553 0.0 0.0 224 0 ? Ss 15:18 0:00 /usr/bin/dumb-init /entrypoint run --user=gitlab-runner --working-directory=/home/gitlab-runner +253:root 2652 0.0 0.0 1746984 4480 ? Sl 15:18 0:00 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 2222 -container-ip 172.18.0.2 -container-port 22 -use-listen-fd +254:root 2658 0.0 0.0 1673252 4640 ? Sl 15:18 0:00 /usr/bin/docker-proxy -proto tcp -host-ip :: -host-port 2222 -container-ip 172.18.0.2 -container-port 22 -use-listen-fd +255:root 2667 0.0 0.0 1746984 4640 ? Sl 15:18 0:00 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 8080 -container-ip 172.18.0.2 -container-port 80 -use-listen-fd +256:root 2674 0.0 0.0 1746984 4640 ? Sl 15:18 0:00 /usr/bin/docker-proxy -proto tcp -host-ip :: -host-port 8080 -container-ip 172.18.0.2 -container-port 80 -use-listen-fd +257:root 2682 0.0 0.0 1746728 4480 ? Sl 15:18 0:00 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 8443 -container-ip 172.18.0.2 -container-port 443 -use-listen-fd +258:root 2690 0.0 0.0 1746984 4640 ? Sl 15:18 0:00 /usr/bin/docker-proxy -proto tcp -host-ip :: -host-port 8443 -container-ip 172.18.0.2 -container-port 443 -use-listen-fd +266:jz 2887 0.0 0.0 127732 18728 ? S processes.txt + 2048 cp processes.txt copy.txt + 2049 mkdir backup + 2050 mv copy.txt backup/ + 2051 wc -l processes.txt + 2052 wc -l processes.txt > selected.txt + 2053 grep -n "/bin" processes.txt >> selected.txt + 2054 history + 2055 history | tail -n12 > commands.txt