First page
Back
Continue
Last page
Overview
Graphics
Dynamic tracing of the X server
Dtrace scripts written in “D” language
Basic syntax similar to awk:
- what to match { what to do when it matches }
X probes start with “Xserverpid:”
- pid is process id of X server to trace or * for all
Simple example:
- dtrace -n 'Xserver*:::client-connect { printf("client %d", arg0); }'
- Prints client id every time a new client connects
Notes: