Difference between revisions of "Docker stats"

From wikieduonline
Jump to navigation Jump to search
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{lc}}
 +
[[docker]] stats
 +
fatal error: runtime: [[out of memory]]
 +
 +
 +
docker stats
 +
[[docker stats --no-stream]]
 +
 +
<code><nowiki>docker stats --format "{{.CPUPerc}},{{.MemUsage}},{{.MemPerc}},{{.NetIO}},{{.BlockIO}}" --no-stream</nowiki></code>
 +
 +
 
<pre>
 
<pre>
docker stats
+
$ docker stats
fatal error: runtime: out of memory
+
 
 +
CONTAINER ID        NAME                                    CPU %              MEM USAGE / LIMIT    MEM %              NET I/O            BLOCK I/O          PIDS
 +
b95a83497c91        awesome_brattain                        0.28%              5.629MiB / 1.952GiB  0.28%              916B / 0B          147kB / 0B          9
 +
67b2525d8ad1        foobar                                  0.00%              1.727MiB / 1.952GiB  0.09%              2.48kB / 0B        4.11MB / 0B        2
 +
e5c383697914        test-1951.1.kay7x1lh1twk9c0oig50sd5tr  0.00%              196KiB / 1.952GiB    0.01%              71.2kB / 0B        770kB / 0B          1
 +
4bda148efbc0        random.1.vnc8on831idyr42slu578u3cr      0.00%              1.672MiB / 1.952GiB  0.08%              110kB / 0B          578kB / 0B          2
 
</pre>
 
</pre>
 +
 +
 +
== Related commands ==
 +
* <code>[[docker container]] stats</code>
 +
* <code>[[docker top]]</code>
 +
* <code>[[glances]]</code>
 +
* [[docker system df]]
 +
* [[docker inspect]]
 +
 +
==Activities==
 +
# Compare outputs from <code>[[systemd-cgtop]]</code>, <code>[[docker stats]]</code>, <code>[[docker container stats]]</code> and [[glances]]
  
 
== See also ==
 
== See also ==
 
* {{docker info}}
 
* {{docker info}}
 +
* {{top}}
 +
* [[sar -r]]
 +
 +
[[Category: docker]]

Latest revision as of 15:10, 18 April 2023

docker stats
fatal error: runtime: out of memory

docker stats
docker stats --no-stream

docker stats --format "{{.CPUPerc}},{{.MemUsage}},{{.MemPerc}},{{.NetIO}},{{.BlockIO}}" --no-stream


$ docker stats

CONTAINER ID        NAME                                    CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
b95a83497c91        awesome_brattain                        0.28%               5.629MiB / 1.952GiB   0.28%               916B / 0B           147kB / 0B          9
67b2525d8ad1        foobar                                  0.00%               1.727MiB / 1.952GiB   0.09%               2.48kB / 0B         4.11MB / 0B         2
e5c383697914        test-1951.1.kay7x1lh1twk9c0oig50sd5tr   0.00%               196KiB / 1.952GiB     0.01%               71.2kB / 0B         770kB / 0B          1
4bda148efbc0        random.1.vnc8on831idyr42slu578u3cr      0.00%               1.672MiB / 1.952GiB   0.08%               110kB / 0B          578kB / 0B          2


Related commands[edit]

Activities[edit]

  1. Compare outputs from systemd-cgtop, docker stats, docker container stats and glances

See also[edit]

Advertising: