How should strace be used?
问题 A colleague once told me that the last option when everything has failed to debug on Linux was to use strace. I tried to learn the science behind this strange tool, but I am not a system admin guru and I didn’t really get results. So, What is it exactly and what does it do? How and in which cases should it be used? How should the output be understood and processed? In brief, in simple words , how does this stuff work? 回答1: Strace Overview strace can be seen as a light weight debugger. It