add new one-liner to 'strace'

- signed-off-by: trimstray <trimstray@gmail.com>
pull/94/head
trimstray 2019-06-08 21:59:01 +02:00
parent 3d1c7ed8b7
commit 5f0d846338
1 changed files with 4 additions and 0 deletions

View File

@ -1763,7 +1763,11 @@ ___
###### Track with child processes
```bash
# 1)
strace -f -p $(pidof glusterfsd)
# 2)
strace -f $(pidof php-fpm | sed 's/\([0-9]*\)/\-p \1/g')
```
###### Track process with 30 seconds limit