add strace

This commit is contained in:
benoit 2016-03-03 23:11:27 +01:00
parent 8da2265bcf
commit 2752147ec7

View file

@ -1,3 +1,8 @@
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
```
WTF is happening? Let's tail all logs. WTF is happening? Let's tail all logs.
``` ```