Giter Site home page Giter Site logo

Comments (3)

hpresnall avatar hpresnall commented on July 24, 2024

The format is yyyy-MM-ddTHH:mm:ssX and follows the Java SimpleDateFormat syntax. So -s or -e can be something like 2015-01-22T16:00:00-01. Just make sure end is greater than the start.

from nmonvisualizer.

greendruid avatar greendruid commented on July 24, 2024

Thanks!

But I have an error:( I try to exec this:

 java -jar nmon_vis.jar -s 2015-05-20T00:00:00+1 -e 2015-05-21T00:00:00+1 com.ibm.nmon.ReportGenerator --nodata -a k.xml ../tmp.

and got an error message:

Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
Caused by: java.lang.ClassNotFoundException: -s
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:191)
        at com.ibm.nmon.DelegatingMain.main(DelegatingMain.java:19)
        ... 5 more

What's wrong?

from nmonvisualizer.

hpresnall avatar hpresnall commented on July 24, 2024

You need to run java -jar nmon_vis.jar com.ibm.nmon.ReportGenerator -s ....

Note the ReportGenerator class name. This is needed to tell the runnable jar what the main class name is. If you wanted to change this, it's possible to directly call ReportGenerator by editing the MANIFEST.MF in the jar file. Change the Rsrc-Main-Class entry to com.ibm.nmon.ReportGenerator.

from nmonvisualizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.