Operating system level tracing
IBM InfoSphere DataStage Operating system level tracing
This presentation discusses the operating system utility tracing technique called “truss”.
Truss (1 of 6)
Truss (1 of 6) Runs a command, then produces a trace of: the system calls it performs signals it receives machine faults incurred Can also connect to a running process Can start and trace new processes such as the execution of “dsjob”
The truss utility executes the specified command and produces a trace of the system calls it performs, the signals it receives, and the machine faults incurred. Truss can also connect to a process that is already running. For example, you can truss the dsapi_slave process for an established client connection by connecting truss to the dsapi_slave process. You can also use truss to start and trace new processes such as the execution of “dsjob”.
Truss (2 of 6)
Truss (2 of 6) Most often used arguments -p
- Connects truss to a process that is already running -o