5
votes
2answers
240 views

How to determine what instructions a process is executing?

I know about strace and ltrace, but that only tells me what system calls and library calls a process is executing, respectively. I would like to know exactly what instructions a process is executing. ...
2
votes
0answers
210 views

How is it that I can attach strace to a process that isn't in the output of ps?

I'm trying to debug why our integration tests are taking so long and it looks like they're hanging part way through. I logged onto our test service and saw the following behaviour: root@colossus:~# ...
5
votes
1answer
269 views

Unkillable apache2 processes

After upgrading from debian lenny to squeeze (apache2 2.2.16-6+squeeze4 and php 5.3.10-1~dotdeb.1), my apache processes started to exit with segmentation fault. It happens every 5-30 minutes (for 1 ...
3
votes
1answer
546 views

Which processes should I NOT strace?

I've created a little function for strace'ing a set of the current user's processes by name: function pstrace() { local pattern="$1"; shift; prefixDashP $(pgrep -U $(whoami) $pattern) | ...