OSWatcher – Installation and Usage


Using the OSWatcher Analyzer in interactive mode

Prepare OSWatcher archvier directory
Note OSWatcher Analyzer is not working with compressed files which be the default for your  OSWatcher archive
You may want to copy your *.gz files to a new location and and uncompress it
# find . -name "*.gz" -exec gunzip  {} \;

Start OSWatcher Analyzer in interactive mode and display CPU Process Queue for a certain period of time:      
# java -jar oswbba.jar -i  ./new_archive
Please Select an Option: T
Specify Chart Start Time. Valid entry between Oct 22 11:05:06 2013 and Oct 23 16:59:57 2013
Example Format To Enter Time: Oct 22 11:05:06 2013  :Oct 23 14:00:00 2013
Specify Chart End Time. Valid entry between Oct 22 11:05:06 2013 and Oct 23 16:59:57 2013
Example Format To Enter Time: Oct 23 16:59:57 2013  :Oct 23 16:00:00 2013
Please Select an Option: 1

All available options for interactive mode are:
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 Specify Different Time Scale
Enter D to Return to Default Time Scale
Enter R to Remove Currently Displayed Graphs
Enter P to Generate A Profile
Enter A to Analyze Data
Enter Q to Quit Program

Create a HTML file  using OSWatcher Analyzer and display the report with your webbrowser

# java -jar oswbba.jar -i  ./new_archive  -P p2 -6 -7 -8  -B  Oct 23 10:00:00 2013 -E Oct 23 12:00:00 2013
# firefox ./profile/grac3.example.com_p2/OSW_profile.htm

 

2 thoughts on “OSWatcher – Installation and Usage”

  1. nice article, just i have a question, when i tried to run de OSwatcher on solaris, the next error is appearing:

    oswbb heartbeat:Tue Nov 24 11:13:14 CST 2015
    ld.so.1: expr: fatal: libgmp.so.3: open failed: No such file or directory
    ld.so.1: expr: fatal: libgmp.so.3: open failed: No such file or directory
    .
    .
    .

    do you know any about it ??

  2. Sorry I don’t have access to any Solaris box .
    libgmp seems to be GNU MP portable library written in C for arbitrary precision arithmetic

    Can you find libgmp.so on your system ?
    If yes does your LD_LIBRARY_PATH point to that directory ?
    Is this a Solaris 10 Sparc system ?

Leave a Reply

Your email address will not be published. Required fields are marked *