mirror of
https://github.com/trimstray/the-book-of-secret-knowledge.git
synced 2024-12-18 17:36:14 +00:00
add new one-liner to 'strace'
- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
parent
3d1c7ed8b7
commit
5f0d846338
@ -1763,7 +1763,11 @@ ___
|
|||||||
###### Track with child processes
|
###### Track with child processes
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# 1)
|
||||||
strace -f -p $(pidof glusterfsd)
|
strace -f -p $(pidof glusterfsd)
|
||||||
|
|
||||||
|
# 2)
|
||||||
|
strace -f $(pidof php-fpm | sed 's/\([0-9]*\)/\-p \1/g')
|
||||||
```
|
```
|
||||||
|
|
||||||
###### Track process with 30 seconds limit
|
###### Track process with 30 seconds limit
|
||||||
|
Loading…
Reference in New Issue
Block a user