Skip to content

A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools and more.

add new one-liner to 'strace' - signed-off-by: trimstray <[email protected]>

trimstray5f0d84633873
diff --git a/README.md b/README.md
index 6b0597b..d27216a 100644
--- a/README.md
+++ b/README.md
@@ -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