首页 > 其他 > 详细

strace

时间:2018-03-27 10:02:58      阅读:156      评论:0      收藏:0      [点我收藏+]

strace  for troubleshoot , to know the system call, know the opened file 

system call, interface between an application and linux kernel      execute() clone()

 

strace-o write output to file

strace -e trace a particular system call  e.g strace -e trace-open ls 

 

strace -f  follow child  process

strace -p process id 

strace -count time, calls, and errors for each syscall and report summary

strace

原文:https://www.cnblogs.com/anyu686/p/8655267.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!