F. DTrace Error Messages

DTrace will print error or warning messages to STDERR as a result of specific events. This appendix describes the more common messages encountered and provides suggestions for avoiding them.

Many of these are from the “DTrace Tips, Tricks and Gotchas” presentation1 by Bryan Cantrill, Mike Shapiro, and Adam Leventhal.

Privileges

Message

image

Meaning

The user does not have the necessary permissions to run DTrace.

Suggestions

On Mac OS X and FreeBSD, the only solution is to run as the root user or use sudo(8).

On Solaris systems, required privileges to run DTrace can be assigned using process privileges (also see Chapter 11, Security): ...

Get DTrace: Dynamic Tracing in Oracle now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.