Tracing and Logging Utilities
strace
Examples of strace Output
The command:
strace 200 48 all
gives the following output:
324112 14:59:16 33683766 1 ... 200 48 CALL Out:‘30’ lci 400 gfi 1
324115 14:59:16 33683776 1 ... 200 48 CAA In:‘30’ lci 400 gfi 1
324116 14:59:16 33683776 6 ... 200 48 DATA Out:‘30’ lci 400 ns/nr 0000
324119 14:59:16 33683778 6 ... 200 48 DATA In:‘30’ lci 400 ns/nr 0001
324124 14:59:16 33683781 2 ... 200 48 CLR Out:‘30’ lci 400 C/D 00f2
324127 14:59:16 33683782 2 ... 200 48 CLC In:‘30’ lci 400
Column labels to help you interpret the output are shown in the following table:
Table
record | time | tics | pri | ind | mod | sub | data | |
num | ||||||||
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
| |
324112 | 14:59:16 | 33683766 | 1 | ... | 200 | 48 | CALL | |
|
|
|
|
|
|
| Out | |
|
|
|
|
|
|
|
|
The command:
strace 200 49 all
gives the following output:
324191 14:59:59 33688076 1 ... 200 49 CALL In:‘31’ lci 400 gfi 1
324192 14:59:59 33688086 1 ... 200 49 CAA Out:‘31’ lci 400 gfi 1
324195 14:59:59 33688087 6 ... 200 49 DATA In:‘31’ lci 400 ns/nr 0000
324196 14:59:59 33688087 6 ... 200 49 DATA Out:‘31’ lci 400 ns/nr 0001
Chapter 7 | 197 |