![]() It is similar to strace -C,īut provides much more detailed statistics. Provide a high level summary of the strace output. We have a series of GitLab Unfiltered videos on using strace to understand GitLab.Brendan Gregg has a more detailed explanation of how to use strace. ![]() See the strace zine for a quick walkthrough.# strace a process strace -tt -T -f -y -yy -s 1024 -p # -tt print timestamps with microsecond accuracy # -T print the time spent in each syscall # -f also trace any child processes that forked # -y print the path associated with file handles # -yy print socket and device file handle details # -s max string length to print for an event # -o output file # run strace on all puma processes ps auwx | grep puma | awk '' | xargs strace -tt -T -f -y -yy -s 1024 -o /tmp/puma.txtīe aware that strace can have major impacts to system performance when it is running.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |