4 ms·
strace's -Z flag is quite useful to filter only syscalls that failed. In a similar way, -k is useful to get tracebacks.
by charleshn 3y ago
strace's -Z flag is quite useful to filter only syscalls that failed.
In a similar way, -k is useful to get tracebacks.
- Two9A 3y agoI should write that down; -Z would've been really useful when my SSH server was falling over in a heap and I was left scrolling through strace to work out what happened. I wrote that experience up last week, for what it's worth: https://imrannazar.com/articles/linux-upgrade-fail https://imrannazar.com/articles/linux-upgrade-fail