Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




System Administration Guide: Virtualization Using the Solaris Operating System
Previous Next

Using DTrace in a Non-Global Zone

Perform the following steps to use DTrace functionality as described in Running DTrace in a Non-Global Zone.

How to Use DTrace

  1. Use the zonecfg limitpriv property to add the dtrace_proc and dtrace_user privileges.
    global# zonecfg -z my-zone
    zonecfg:my-zone> set limitpriv="default,dtrace_proc,dtrace_user"
    zonecfg:my-zone> exit

    Note - Depending on your requirements, you can add either privilege, or both privileges.

  2. Boot the zone.
    global# zoneadm -z my-zone boot
  3. Log in to the zone.
    global# zlogin my-zone
  4. Run the DTrace program.
    my-zone# dtrace -l
Previous Next

  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire