Skip to content

Commit

Permalink
Merge pull request wsargent#45 from suchkultur/patch-1
Browse files Browse the repository at this point in the history
Add A simple way to monitor resource utilization
  • Loading branch information
wsargent committed Jul 15, 2015
2 parents d050f13 + 2f5717c commit c04adf7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,21 @@ ID=$(docker run -d image-name /bin/bash)
gzip -dc image.tgz | docker import - flat-image-name
```

### Monitor system resource utilization for running containers

To check the CPU, memory and network i/o usage, you can use:

```
docker stats <container>
```

for a single container or

```
docker stats $(docker ps -q)
```

to monitor all containers on the docker host.

## Tools

Expand Down

0 comments on commit c04adf7

Please sign in to comment.