From f0918bf18c82d3581e144a5a1a8c76a45f0da3ca Mon Sep 17 00:00:00 2001 From: benoit Date: Thu, 3 Mar 2016 23:11:40 +0100 Subject: [PATCH] s/trace/strace/ ... --- SysadminTips.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SysadminTips.page b/SysadminTips.page index 768cd23..78207eb 100644 --- a/SysadminTips.page +++ b/SysadminTips.page @@ -1,6 +1,6 @@ WTF is happening in apache (or other)? Let's strace all apache processes. ``` -# trace -p $(ps auwwwx | grep apache | tr -s '\t' ' ' | cut -d' ' -f2 | tr '\n' ' ' | sed 's/ / -p /g') -p 9999 +# strace -p $(ps auwwwx | grep apache | tr -s '\t' ' ' | cut -d' ' -f2 | tr '\n' ' ' | sed 's/ / -p /g') -p 9999 ``` WTF is happening? Let's tail all logs.