3 ms·
This item has prompted me to investigate the strace command. It's one to put in the bag of things to try on occasion to make sure I don't forget it. In the BU
by RiderOfGiraffes 17y ago
This item has prompted me to investigate the strace command. It's one to put in the bag of things to try on occasion to make sure I don't forget it.
In the BUGS section of the man page you can find these items (amongst others):
A traced process ignores SIGSTOP except on SVR4 platforms.
Hmm. That's useful to note.
A traced process which tries to block SIGTRAP will be sent
a SIGSTOP in an attempt to force continuation of tracing.
I can understand that, although it could be surprising in practice for the unwary.
A traced process runs slowly.
Understandable.
Traced processes which are descended from command may be
left running after an interrupt signal (CTRL-C).
That's definitely worth knowing.
On Linux, exciting as it would be, tracing the init process
is forbidden.
Damn.
- jrockway 17y agoOn Linux, exciting as it would be, tracing the init process is forbidden. But of course, nothing is stopping you from commenting this check out.