s/trace/strace/ ...

This commit is contained in:
benoit 2016-03-03 23:11:40 +01:00
parent 2752147ec7
commit f0918bf18c

View file

@ -1,6 +1,6 @@
WTF is happening in apache (or other)? Let's strace all apache processes. 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. WTF is happening? Let's tail all logs.