Hacker News new | past | comments | ask | show | jobs | submit login

I often use it to see what configuration files the thing reads, it is much more reliable than documentation.



Since you almost always need to open a file in order to do anything useful `strace -vf -e openat` helped solve a lot of issues from simple configuration file lookup to ld.so library loading problems.


It is often useful to also watch for calls to the stat family of syscalls; some applications stat files that they wish to open rather than depending on the return code from open, so just looking for open will miss files that don't exist.


same, and I'm often surprised how many files are touched / read, and also how many times (trying to load local configs from dozens of places)..

some unix practices seems very inefficient




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: