Method R Discussion Group

Method R helps developers, DBAs, and decision-makers optimize Oracle-based software in every phase of the software life cycle.

Discuss Method R products, techniques, and events.

Ask new questions or post your own responses.

can't execute p5prof from command line

I just installed the Profiler on my laptop (Windows XP, SP2) and am following the instructions in section 2.5 of the Profiler User Guide (5.1.13.0) "Confirming the Profiler":

When I try to execute p5prof from the command line on my PC, I get the following message:

c:\temp>p5prof ods30_ora_12142.trc
'p5prof' is not recognized as an internal or external command, operable program or batch file.

However, when I cd to the directory where the p5prof.exe resides, the above command executes ok.

What do I need to do to do to remedy this?

Thanks.
Clyde Kawano Send private email
Tuesday, January 23, 2007
 
 
You need to modify your PATH to include the folder where your Profiler executable resides. Here's how:

Choose Start > Control Panel > System. Select the "Advanced" tab. Click the "Environment Variables" button. In the bottom box labeled "System variables", find the "Path" variable. Its value is a semicolon-separated list of directories where your DOS command shell will look for executables.

Edit the Path variable's value by clicking the "Edit" button. If your Hotsos Profiler executable is called "C:\Program Files\Hotsos\P5\bin\p5prof.exe", then add ";C:\Program Files\Hotsos\P5\bin" to the tail of your Path value (that is, with the semicolon at the front, and without the program name at the end). Click "OK" when you're done, and keep clicking "OK" until you're back to your regular desktop.

Now, restart your DOS command shell and type "PATH" to your prompt. You should see the result of your work at the tail end of what shows up. At this point, you should be able to run p5prof with no problems.
Cary Millsap Send private email
Tuesday, January 23, 2007
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Discussion Groups Main Page

Powered by FogBugz