dtrace Command Exit Status
The following exit values are returned by the dtrace command:
-
0 -
Indicates that the specified requests were completed successfully. For D program requests, the
0exit status indicates that programs were successfully compiled, probes were successfully enabled, or an anonymous state was successfully retrieved. Thedtracecommand returns0even if the specified tracing requests meet errors or drops.
-
1 -
Indicates that a fatal error occurred. For D program requests, the
1exit status indicates that program compilation failed or that the specified request couldn't be satisfied.
-
2 -
Indicates that invalid command line options or arguments were specified.