Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OS Watcher Part 2

Beauty_and_dBestOct 27 2016 — edited Oct 31 2016

Hi ALL,

11gR2

OL6

Reference: OSWatcher Analyzer User Guide (Doc ID 461053.1)

I have installed OS Watcher and gathers stats data.

But when I run this command, I got error

[apptest@erp oswbb]$ java -jar oswbba.jar -i /u01/OSW/oswbb/archive

Starting OSW Analyzer V7.3.3

OSWatcher Analyzer Written by Oracle Center of Expertise

Copyright (c)  2014 by Oracle Corporation

Parsing Data. Please Wait...

Scanning file headers for version and platform info...

Parsing file erp.oracle.com_iostat_16.10.27.1000.dat ...

Parsing file erp.oracle.com_iostat_16.10.27.1100.dat ...

Parsing file erp.oracle.com_iostat_16.10.27.1200.dat ...

Parsing file erp.oracle.com_iostat_16.10.27.1300.dat ...

Parsing file erp.oracle.com_iostat_16.10.27.1400.dat ...

Parsing file erp.oracle.com_vmstat_16.10.27.1000.dat ...

Parsing file erp.oracle.com_vmstat_16.10.27.1100.dat ...

Parsing file erp.oracle.com_vmstat_16.10.27.1200.dat ...

Parsing file erp.oracle.com_vmstat_16.10.27.1300.dat ...

Parsing file erp.oracle.com_vmstat_16.10.27.1400.dat ...

Parsing file erp.oracle.com_netstat_16.10.27.1000.dat ...

Parsing file erp.oracle.com_netstat_16.10.27.1100.dat ...

Parsing file erp.oracle.com_netstat_16.10.27.1200.dat ...

Parsing file erp.oracle.com_netstat_16.10.27.1300.dat ...

Parsing file erp.oracle.com_netstat_16.10.27.1400.dat ...

Parsing file erp.oracle.com_top_16.10.27.1000.dat ...

Parsing file erp.oracle.com_top_16.10.27.1100.dat ...

Parsing file erp.oracle.com_top_16.10.27.1200.dat ...

Parsing file erp.oracle.com_top_16.10.27.1300.dat ...

Parsing file erp.oracle.com_top_16.10.27.1400.dat ...

Parsing file erp.oracle.com_ps_16.10.27.1000.dat ...

Parsing file erp.oracle.com_ps_16.10.27.1100.dat ...

Parsing file erp.oracle.com_ps_16.10.27.1200.dat ...

Parsing file erp.oracle.com_ps_16.10.27.1300.dat ...

Parsing file erp.oracle.com_ps_16.10.27.1400.dat ...

Parsing Completed.

Enter 1 to Display CPU Process Queue Graphs

Enter 2 to Display CPU Utilization Graphs

Enter 3 to Display CPU Other Graphs

Enter 4 to Display Memory Graphs

Enter 5 to Display Disk IO Graphs

Enter 6 to Generate All CPU Gif Files

Enter 7 to Generate All Memory Gif Files

Enter 8 to Generate All Disk Gif Files

Enter L to Specify Alternate Location of Gif Directory

Enter T to Alter Graph Time Scale Only (Does not change analysis dataset)

Enter D to Return to Default Graph Time Scale

Enter R to Remove Currently Displayed Graphs

Enter A to Analyze Data

Enter S to Analyze Subset of Data(Changes analysis dataset including graph time scale)

Enter P to Generate A Profile

Enter X to Export Parsed Data to File

Enter Q to Quit Program

Please Select an Option:1

No protocol specified

Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':1.0' as the value of the DISPLAY variable.

  at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)

  at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52)

  at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:155)

  at java.security.AccessController.doPrivileged(Native Method)

  at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)

  at java.lang.Class.forName0(Native Method)

  at java.lang.Class.forName(Class.java:169)

  at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)

  at java.awt.Window.init(Window.java:362)

  at java.awt.Window.<init>(Window.java:415)

  at java.awt.Frame.<init>(Frame.java:403)

  at java.awt.Frame.<init>(Frame.java:368)

  at g.a(Unknown Source)

  at OSWGraph.OSWGraph.main(Unknown Source)

[apptest@erp oswbb]$

I have tried to > $ explort DISPLAY=0:0

but still the issue persist.

Is there a way to save all graphs in html file so I can display or print it using browsers?

Please help....

Kind regards,

jc

This post has been answered by JohnWatson2 on Oct 28 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 28 2016
Added on Oct 27 2016
7 comments
1,154 views