Main Menu

Search

KUBERNETES: Strace Command To Capture Strace Output of CRIO process/PID

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