Changed sleep time in examples

from 0.1 sec to 1 sec (in two places), according to the feedback
This commit is contained in:
Dmitrii Ustiugov 2019-05-28 11:53:18 +01:00 committed by Ian Lewis
parent b57660dffb
commit 7c94c9d77c
1 changed files with 2 additions and 2 deletions

View File

@ -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