Quantcast
Channel: Filter out failed syscalls from strace log - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 4

Answer by Yurij Goncharuk for Filter out failed syscalls from strace log

$
0
0

Possible solution:

strace -e trace=file sleep 1 2>&1 | grep -v "= -1 ENOENT"> strace.log

strace by default prints to stderr so redirect it to stdout.


Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>