diff options
author | Dmitrii Ustiugov <dmitrii.ustiugov@epfl.ch> | 2019-05-27 20:12:08 +0100 |
---|---|---|
committer | Ian Lewis <ianlewis@google.com> | 2019-05-29 16:58:09 +0900 |
commit | b57660dffbc5a49882d9ba8e5136158e640b3885 (patch) | |
tree | 48a0d378902495d86f92830e09c46849dd52d6d6 /content | |
parent | ff72925c55e5753cde479effd19d85e59073e82a (diff) |
Changed example command for profiling CPU/heap
Profiling a container that runs `sleep 1000` command dumps an empty CPU profile that may cause unnecessary questions. I suggest replacing this example with one mentioned in the same doc above.
Diffstat (limited to 'content')
-rw-r--r-- | content/docs/user_guide/debugging.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/docs/user_guide/debugging.md b/content/docs/user_guide/debugging.md index c6f5cc772..f7965d23b 100644 --- a/content/docs/user_guide/debugging.md +++ b/content/docs/user_guide/debugging.md @@ -89,7 +89,7 @@ the options available: For example: ```bash -docker run --runtime=runsc-prof --rm -d alpine sleep 1000 +docker run --runtime=runsc-prof --rm -d alpine sh -c "while true; do echo running; sleep .1; done" 63254c6ab3a6989623fa1fb53616951eed31ac605a2637bb9ddba5d8d404b35b sudo runsc --root /var/run/docker/runtime-runsc-prof/moby debug --profile-heap=/tmp/heap.prof 63254c6ab3a6989623fa1fb53616951eed31ac605a2637bb9ddba5d8d404b35b |