0
A
回答
0
我想你指的strace
并要筛选它的输出。
strace
的-e
选项可让您决定应打印哪些呼叫。以下是手册摘录:
-e trace=file
Trace all system calls which take a file name as an argument. You can think of this as an abbreviation for
-e trace=open,stat,chmod,unlink,... which is useful to seeing what files the process is referencing. Furthermore, using
the abbreviation will ensure that you don't accidentally forget to include a call like lstat in the list. Betchya woulda
forgot that one.
-e trace=process
Trace all system calls which involve process management. This is useful for watching the fork, wait, and exec steps of a
process.
-e trace=network
Trace all the network related system calls.
-e trace=signal
Trace all signal related system calls.
-e trace=ipc
Trace all IPC related system calls.
-e trace=desc
Trace all file descriptor related system calls.
您也可以选择单个系统调用。
相关问题
- 1. 在哪里可以找到Linux系统调用的源代码?
- 2. Cocoa的所有键码都在哪里?
- 3. pause()系统调用的系统调用处理函数在哪里?
- 4. Linux系统的udev使用“keyboard-keys-from-name.h”在哪里?
- 5. 所有的系统调用都是非实时安全的吗?
- 6. 所有系统调用都需要Windows上的SSDT?
- 7. linux系统中使用的for_each_zone在新系统调用中调用
- 8. Linux权限604,系统中的所有用户是否都读过该文件?
- 9. 在Linux中创建系统调用
- 10. Linux系统调用getifaddr C++
- 11. 开放系统调用 - Linux
- 12. linux系统调用getpeername C++
- 13. 在Linux的NFS挂载系统调用
- 14. 在Linux系统()调用的问题
- 15. WOW64 32位系统:恢复
- 16. 在哪里包括文件存储 - Ubuntu Linux操作系统,GCC
- 17. django admin中的所有内容都在哪里?
- 18. 在哪里插入恢复'无效'
- 19. x86 linux系统调用调用约定?
- 20. 我在哪里可以找到系统调用源代码?
- 21. 如何在golang中调用Linux/UNIX的系统调用
- 22. 在Linux上seteuid系统调用?
- 23. JRE系统库中每个JAR都有哪些作用
- 24. 在LINUX C/C++中,哪些系统调用是可中断的(即errno == EINTR)?
- 25. 在NTFS文件系统MFT在哪里
- 26. 列出所有没有系统用户的Linux用户
- 27. 消息队列。 msgsend msgrcv。系统V在C系统调用(Linux)
- 28. 在linux中恢复串口
- 29. 在分布式系统中复制文件,以便所有服务器都有所有文件的副本
- 30. 如何在Python中调用linux系统调用PROCESS_VM_READV?