|
strace without arguments writes all STREAMS event trace messages from all drivers and modules to its standard output. These messages are obtained from the STREAMS log driver (see log(7D)). If arguments are provided, they must be in triplets of the form mid, sid, level, where mid is a STREAMS module ID number, sid is a sub-ID number, and level is a tracing priority level. Each triplet indicates that tracing messages are to be received from the given module/driver, sub-ID (usually indicating minor device), and priority level
equal to, or less than the given level. The token all may be used for any member to indicate no restriction for that attribute.
The format of each trace message output is:
<seq> <time> <ticks> <level> <flags> <mid> <sid> <text>
- <seq>
- trace sequence number
- <time>
- time of message in hh:mm:ss
- <ticks>
- time of message in machine ticks since boot
- <level>
- tracing priority level
- <flags>
- E : message is also in the error log F : indicates a fatal error N : mail was sent to the system administrator (hardcoded
as root)
- <mid>
- module ID number of source
- <sid>
- sub-ID number of source
- <text>
- formatted text of the trace message
Once initiated, strace will continue to execute until terminated by the user.
|