This Question is Answered

1 "correct" answer available (15 pts) 2 "helpful" answers available (10 pts)
1 Replies Last post: May 12, 2008 6:39 AM by Nagendra Krishnappa  
Click to view Nagendra Krishnappa's profile Expert 41 posts since
Mar 29, 2008

May 12, 2008 6:32 AM

Issues with seemingly incorrect stats returned from JAVA API perf_operation sample code

 

Hi All,

 

I downloaded the knoppix emulator and did the hard disk install and setup. Everything seems to work fine. When I run the command line statistics tool in the simulator I get proper stats.

 

 

When I use the performance operation sample code from the SDK for statistics that don't have a base value (do not require calculation) I get very strange values.

 

 

For example:

If I run the CLI command "Stats" on the simulator I get the following values:

 

 

 

 

Yet when I run the sample code in the SDK let's look at one particular value (they are all messed up in my view):

 

 

Values from the API sample code as run from the command line:

 

 

C:\temp4\manage-ontap-sdk-3.0\src\sample\java\perf_operation>java -classpath .;../../../../lib/java/classes/manageontap.jar perf_operation 10.1.4.192 root uptime get-counter-values vfiler

 

 

vfiler_read_ops

Instance = vfiler0

counter name =vfiler_read_ops counter value =1398

 

 

I don't see how 0 == 1398?

 

 

Sorry if this is a really newbish question, and I am sure I am missing something here, thanks in advance.

 

 

More Like This

  • Retrieving data ...