📄 readme-svr4
字号:
Even though SVR4 has truss, you may prefer using strace for a numberof reasons. Not the least of which are portability and source code.The main event loop is awkward on systems for which procfs isn'tpollable. I think a pollable procfs is a Solaris invention so most SVR4systems have this weakness. On Solaris, strace runs as a singlecontrolling process. This is a big improvement if you are debugging alot of processes at once.There is no thread support but it wouldn't be very difficult to add it.On UnixWare using the -f option to follow forked children sometimes showsmany "unfinished" system calls as strace bounces between each runnable child.A crude workaround for this is available by adding #define POLL_HACK 1to the config.h file. This forces strace to check whether the last processhas finished a system call before polling other processes for events.Wichert Akkerman <wakkerma@debian.org>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -