Below command can be used.
strace -p $(pgrep crio) -f 2>&1
If you want to write the output to file and grep for particular pattern, below command can be used.
strace -p $(pgrep crio) -f 2>&1 | tee strace.out | grep -i pattern
No comments:
Post a Comment