Difference between revisions of "Docker stats"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
{{lc}}
 
  [[docker]] stats
 
  [[docker]] stats
 
  fatal error: runtime: [[out of memory]]
 
  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>
  
  
Line 17: Line 23:
 
== Related commands ==
 
== Related commands ==
 
* <code>[[docker container]] stats</code>
 
* <code>[[docker container]] stats</code>
* [[docker top]]
+
* <code>[[docker top]]</code>
 +
* <code>[[glances]]</code>
 +
* [[docker system df]]
 +
* [[docker inspect]]
  
 
==Activities==
 
==Activities==
# Compare outputs from <code>[[systemd-cgtop]]</code>, <code>[[docker stats]]</code> and <code>[[docker container stats]]</code>
+
# Compare outputs from <code>[[systemd-cgtop]]</code>, <code>[[docker stats]]</code>, <code>[[docker container stats]]</code> and [[glances]]
  
 
== See also ==
 
== See also ==

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: