mirror of
https://github.com/trimstray/the-book-of-secret-knowledge
synced 2024-12-26 09:58:40 +01:00
add new one-liner to 'strace'
- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
parent
3d1c7ed8b7
commit
5f0d846338
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue