Strace 工具
来源:互联网 发布:搭建php开发环境 编辑:程序博客网 时间:2024/06/01 10:29
The tool of Strace can show the system call that comes from the user-space program. Strace not only can display these system call and their parameters, but also return a value .
Several commonly used options like the following:
1. "-f" meaning that Strace will trace the process comes from fork() and vfork() in the same time. For example: starce -f ./a.out
2. "starce -o xxx.txt" meaning that the result output to xxx.txt.
3. "strace -e trace=nanosleep" meaning that Starce only reacording the related process. "nanosleep" can also be "network, filename, file descriptor"
4. "strace -p pid" //trace the background process.
5. "strace -T" //reacording the time that every system call spended.
6. "strace -t" //reacording the time of every system call happened.
Several commonly used options like the following:
1. "-f" meaning that Strace will trace the process comes from fork() and vfork() in the same time. For example: starce -f ./a.out
2. "starce -o xxx.txt" meaning that the result output to xxx.txt.
3. "strace -e trace=nanosleep" meaning that Starce only reacording the related process. "nanosleep" can also be "network, filename, file descriptor"
4. "strace -p pid" //trace the background process.
5. "strace -T" //reacording the time that every system call spended.
6. "strace -t" //reacording the time of every system call happened.
0 0
- strace 工具
- Strace 工具
- 使用 Strace 调试工具
- 使用Strace 调试工具
- TQ2440移植strace工具
- strace 调试工具
- strace工具详解
- strace 调试工具移植
- 如何交叉编译strace工具
- 监控系统调用工具strace
- Linux调试工具之:Strace
- Linux问题诊断工具strace
- Linux strace进程追踪工具
- 监控系统调用工具strace
- strace工具的实现原理
- linux strace 工具的使用
- linux strace 工具的使用
- strace跟踪分析进程工具
- 数字统计
- 杭电ACM3549(最大流)
- Qemu+Gdb debug linux kernel
- C语言数组和指针
- Codeforces Round #257 (Div. 2) A. Jzzhu and Children解题报告
- Strace 工具
- mysql5.7修改root密码
- 实战c++中的vector系列--知道emplace_back为何优于push_back吗?
- 一次mysql瘫痪解救
- [从头学数学] 第07节 11~20各数的认识
- 51nod 1422:沙拉酱前缀
- 数列求和
- 媒体服务器性能评估必须考虑的几个指标
- 【bzoj3196】【坑】Tyvj 1730 二逼平衡树 线段树套Treap/Splay