大佬教程收集整理的这篇文章主要介绍了捕获正在写入打开文件描述符的数据,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
strace
有一个选项可以完成你想要的主要部分.
@H_674_5@
@H_674_5@
-e write=set Perform a full hexadecimal and ASCII dump of all the data written to file descriptors listed in the spec- ified set. For example,to see all output activity on file descriptors 3 and 5 use -e write=3,5. Note that this is independent from the normal tracing of the write(2) system call which is controlled by the option -e trace=write.@H_674_5@>如果您的应用A已经在运行:strace -ewrite -ewrite = FD -pPID
以上是大佬教程为你收集整理的捕获正在写入打开文件描述符的数据全部内容,希望文章能够帮你解决捕获正在写入打开文件描述符的数据所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。