4 ms·
Brendan, I appreciate all your contributions to the software tool landscape. > It's another to write a post that's dangerous. Huh? It's called "introduction
by wyldfire 10y ago
Brendan, I appreciate all your contributions to the software tool landscape.
> It's another to write a post that's dangerous.
Huh? It's called "introduction to strace". I agree with everything you said, it's easy to bork things up with strace. But I'd hardly call this article "dangerous."
90% of the time I'm running some script or opaque binary which gives some bogus unclear error or just stops executing (or appears to halt). strace is the perfect tool for finding out which syscall is failing and why.
But, yes, your warnings are good reminders that attaching to a service that's already running can have bad consequences.
- brendangregg 10y agoIt's a tool with an unexpected side effect that it can hurt or kill production. And this post (and others like it) encourages people to use it without a single mention of "overhead" or dangers. One may not need to belabor the dangers of tools like shutdown, ifconfig, fdisk, etc, since as administration tools one should _expect_ dangers. The worst tools are where the dangers are unexpected. People are going to learn it the hard way if you don't provide a warning.
- whatupmd 10y agoIt looks like this was written Jan. 2014. Your post is a few months later. The content on your site is great and personally I really appreciate it. Thanks for adding some context here.