no need for last -p

This commit is contained in:
benoit 2017-11-16 10:43:26 +00:00
parent dcff6f6fd7
commit fde347163a

View file

@ -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.