8.4 dtrace Command Exit Status

The following exit values are returned by the dtrace command:


Indicates that the specified requests were completed successfully. For D program requests, the 0 exit status indicates that programs were successfully compiled, probes were successfully enabled, or an anonymous state was successfully retrieved. The dtrace command returns 0 even if the specified tracing requests encountered errors or drops.


Indicates that a fatal error occurred. For D program requests, the 1 exit status indicates that program compilation failed or that the specified request could not be satisfied.


Indicates that invalid command-line options or arguments were specified.