From 5f0d8463387355dffcf2d1f73c0d75c6914df23c Mon Sep 17 00:00:00 2001 From: trimstray Date: Sat, 8 Jun 2019 21:59:01 +0200 Subject: [PATCH] add new one-liner to 'strace' - signed-off-by: trimstray --- README.md | 4 ++++ 1 file changed, 4 insertions(+) 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