diff --git a/SysadminTips.page b/SysadminTips.page index fc56e0c..7331997 100644 --- a/SysadminTips.page +++ b/SysadminTips.page @@ -25,7 +25,7 @@ ps axo user:20,pid,pcpu,pmem,vsz,rss,tty,stat,start,time,comm WTF is happening in apache (or other)? Let's strace all apache processes. ``` -# strace -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') 9999 ``` WTF is happening? Let's tail all logs.