码迷,mamicode.com
首页 > 其他好文 > 详细

strace

时间:2018-03-27 10:25:26      阅读:146      评论:0      收藏:0      [点我收藏+]

标签:ica   system   between   count   body   kernel   ati   err   epo   

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

标签:ica   system   between   count   body   kernel   ati   err   epo   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!