1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-12-22 14:48:08 +00:00

cgroups: improve indentation

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
This commit is contained in:
Alexander Kuleshov 2018-05-02 00:24:27 +06:00
parent 17d74ce160
commit ca61322d6a

View File

@ -195,7 +195,9 @@ So, during startup of a `docker` container, `docker` will create a `cgroup` for
``` ```
$ docker exec -it mysql-work /bin/bash $ docker exec -it mysql-work /bin/bash
$ top $ top
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1 mysql 20 0 963996 101268 15744 S 0.0 0.6 0:00.46 mysqld 71 root 20 0 20248 3028 2732 S 0.0 0.0 0:00.01 bash 77 root 20 0 21948 2424 2056 R 0.0 0.0 0:00.00 top PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1 mysql 20 0 963996 101268 15744 S 0.0 0.6 0:00.46 mysqld
71 root 20 0 20248 3028 2732 S 0.0 0.0 0:00.01 bash
77 root 20 0 21948 2424 2056 R 0.0 0.0 0:00.00 top
``` ```
And we may see this `cgroup` on host machine: And we may see this `cgroup` on host machine: