no need for last -p
This commit is contained in:
parent
dcff6f6fd7
commit
fde347163a
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
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.
|
WTF is happening? Let's tail all logs.
|
||||||
|
|
Loading…
Reference in a new issue