Discussion in 'Plugin Development' started by locutus, Aug 2, 2011.

Thread Status:
Not open for further replies.
  1. Offline


    What's the best way to Profile a server for CPU usage? I'd like to find out which plugins are the most CPU intensive, and to be able to make my own plugins more efficient.

    Im running Java 1.66 on debian. I get a monitor and keyboard for my machine, but that would be a pain. Command line tools appreciated!
  2. Offline


  3. Offline


    Java VisualVM is a tool for profiling applications on local and remote Java VMs
    Tanite likes this.
  4. Offline


    I recently discovered jconsole. It's built in, but I'm not sure if in JRE or JDK. It also supports remote processes, but I didn't test how they work.
    It monitors CPU usage, Heap size, RAM usage, amount of loaded classes and a couple of more things.

    Sun documentation:
    (That site says it's in the JDK, but as a developer you should have that anyways ;))
  5. Offline


    Both Jconsole and VisualVM are part of JDK
Thread Status:
Not open for further replies.

Share This Page