Previous Next        Current Page: NeXtMidas Training / NetBeans - Part 3 (Profiler) / Profiler Setup / Step 5
Start Here   
Background   
Common Midas Concepts   
Getting Started - Part 1   
Getting Started - Part 2   
Working with Files   
Option Trees   
Macros - Part 1 (Basics)   
Macros - Part 2 (Graphics)   
NetBeans - Part 1 (Setup)   
NetBeans - Part 2 (GUIs)   
NetBeans - Part 3 (Profiler)   
   + About Profilers   
   - Profiler Setup   
      - Calibration   
      - Step 1   
      - Step 2   
      - Step 3   
      - Step 4   
      - Step 5   
      - Step 6   
      - Step 7   
      - Step 8   
      - Step 9   
      - Step 10   
   + Performance Analysis   
Eclipse - Part 1 (Setup)   
Eclipse - Part 2 (GUIs)   
Primitives   
Applets & WebStart   
Maps & Imagery   
X-Midas Interoperability   
RMIF & Remoting   
Installing NeXtMidas   
Support & Maintenance   
File Handlers   


  • Profiler Setup:
    • Away from the Attach Wizard bring up the shell console you will use to run NeXtMidas.
    • At the shell prompt setenv NM_PROFILER_FLAGS and then type a space (do not hit enter).
    • Now paste the -agentpath: line from the Attach Wizard into the shell and press enter.
    • It should look something like this:
      $ setenv NM_PROFILER_FLAGS -agentpath:/opt/netbeans-5.5rc1/profiler1/
      lib/deployed/jdk15/linux/libprofilerinterface.so=/opt/netbeans-5.5rc1
      /profiler1/lib,5140
      $ 
    • The above example is just an example, the actual -agentpath: line will differ on your system.