diff options
Diffstat (limited to 'content/docs/user_guide/debugging.md')
-rw-r--r-- | content/docs/user_guide/debugging.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/docs/user_guide/debugging.md b/content/docs/user_guide/debugging.md index f7965d23b..761721bd3 100644 --- a/content/docs/user_guide/debugging.md +++ b/content/docs/user_guide/debugging.md @@ -46,7 +46,7 @@ gVisor. It connects to the sandbox process, collects a stack dump, and writes it to the console. For example: ```bash -docker run --runtime=runsc --rm -d alpine sh -c "while true; do echo running; sleep .1; done" +docker run --runtime=runsc --rm -d alpine sh -c "while true; do echo running; sleep 1; done" 63254c6ab3a6989623fa1fb53616951eed31ac605a2637bb9ddba5d8d404b35b sudo runsc --root /var/run/docker/runtime-runsc/moby debug --stacks 63254c6ab3a6989623fa1fb53616951eed31ac605a2637bb9ddba5d8d404b35b @@ -89,7 +89,7 @@ the options available: For example: ```bash -docker run --runtime=runsc-prof --rm -d alpine sh -c "while true; do echo running; sleep .1; done" +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 |