139 Machine faults that stop the process. The specified faults are
140 added to the set specified by -m. If one of the specified faults is
141 incurred, truss leaves the process stopped and abandoned (see the
142 -T option). Default is -M!all.
143
144
145 -o outfile
146
147 File to be used for the trace output. By default, the output goes
148 to standard error.
149
150
151 -p
152
153 Interprets the command arguments to truss as a list of process-ids
154 for existing processes (see ps(1)) rather than as a command to be
155 executed. truss takes control of each process and begins tracing it
156 provided that the userid and groupid of the process match those of
157 the user or that the user is a privileged user. Users can trace
158 only selected threads by appending /thread-id to the process-id.
159 Mutiple threads can be selected using the - and , delimiters. For
160 example /1,2,7-9 traces threads 1, 2, 7, 8, and 9. Processes can
161 also be specified by their names in the /proc directory, for
162 example, /proc/12345.
163
164
165 -r [!]fd,...
166
167 Shows the full contents of the I/O buffer for each read() on any of
168 the specified file descriptors. The output is formatted 32 bytes
169 per line and shows each byte as an ASCII character (preceded by one
170 blank) or as a 2-character C language escape sequence for control
171 characters such as horizontal tab (\t) and newline (\n). If ASCII
172 interpretation is not possible, the byte is shown in 2-character
173 hexadecimal representation. (The first 12 bytes of the I/O buffer
174 for each traced print >read() are shown even in the absence of -r.)
175 Default is -r!all.
176
177
178 -s [!]signal,...
179
|
139 Machine faults that stop the process. The specified faults are
140 added to the set specified by -m. If one of the specified faults is
141 incurred, truss leaves the process stopped and abandoned (see the
142 -T option). Default is -M!all.
143
144
145 -o outfile
146
147 File to be used for the trace output. By default, the output goes
148 to standard error.
149
150
151 -p
152
153 Interprets the command arguments to truss as a list of process-ids
154 for existing processes (see ps(1)) rather than as a command to be
155 executed. truss takes control of each process and begins tracing it
156 provided that the userid and groupid of the process match those of
157 the user or that the user is a privileged user. Users can trace
158 only selected threads by appending /thread-id to the process-id.
159 Multiple threads can be selected using the - and , delimiters. For
160 example /1,2,7-9 traces threads 1, 2, 7, 8, and 9. Processes can
161 also be specified by their names in the /proc directory, for
162 example, /proc/12345.
163
164
165 -r [!]fd,...
166
167 Shows the full contents of the I/O buffer for each read() on any of
168 the specified file descriptors. The output is formatted 32 bytes
169 per line and shows each byte as an ASCII character (preceded by one
170 blank) or as a 2-character C language escape sequence for control
171 characters such as horizontal tab (\t) and newline (\n). If ASCII
172 interpretation is not possible, the byte is shown in 2-character
173 hexadecimal representation. (The first 12 bytes of the I/O buffer
174 for each traced print >read() are shown even in the absence of -r.)
175 Default is -r!all.
176
177
178 -s [!]signal,...
179
|