In article <mailman.11570.1404702375.18130.python-l...@python.org>,
 Chris Angelico <ros...@gmail.com> wrote:
 
> That's about it, yeah. I tend to find both strace and tcpdump rather
> too spammy for most usage, so any time I reach for those tools, it's
> usually with some tight filtering - and even that's not always
> helpful.

Usually, when I fire up strace, it's because I'm looking for something 
specific.  A common use case is, "I just edited this config file, but it 
doesn't seem to be having any effect".  I'll do something like "strace 
-e file" and grep out all the open() calls.  From there, it's trivial to 
verify that it is indeed reading my config file (or not).  Or that 
there's other config files (/usr/share/whatever) that it's reading that 
I didn't even know existed, which might be overriding my own.  Likewise 
for which libraries it's linking against, which executables it's 
running, etc.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to