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.