ããã»ã¹ã«attachãã¦ãã¬ã¼ã¹ããæã¯straceã³ãã³ããå©ç¨ããã å©ç¨ãã©ã¼ãããã¯ãããªæãã # strace -p [PID] è¤æ°ããã»ã¹ãåæã«attachããtraceããå ´åã¯ã # strace -p [PID] -p [PID] f ãªãã·ã§ã³ã -F ãªãã·ã§ã³ãä»ãããã¨ã§ãforkããã³vforkããåããã»ã¹ãtraceãããã¨ãå¯è½ã«ãªãã o [åºåãã¡ã¤ã«å] ã§traceãã°ãè¨é²ãããã¨ãã§ããã ãµã³ãã«ã¨ãã¦ã以ä¸ã®ã³ãã³ããå®è¡ã㦠ls ã³ãã³ããstraceã§è¿½ã£ããã¦ã¿ãã # strace -o result.log ls çµæã¯ãããªæãã xecve("/bin/ls", ["ls"], [/* 38 vars */]) = 0 brk(0) = 0x805f000 access("/etc/ld.so.nohwcap", F
{{#tags}}- {{label}}
{{/tags}}