[INFO/ADMN] Performance Monitor v1.8 [1.6.1-R0.1]

Discussion in 'Archived: Plugin Releases' started by MsHax085, Jul 17, 2012.

  1. Offline

    javoris767

    Could their be a part to tell you how much RAM your using :p
     
  2. Offline

    MsHax085

    Try the new version (1.5.7) if that works out fine for you. For this update I reinstalled my java to make sure I use the very latest updates, this includes the latest java JDK and brand new updates for NetBeans.

    There was in a earlier version of performance monitor. I removed it as I thought it was pretty useless if you know how much RAM you have available and how much you have free. Are you sure this is a necessary function?
     
  3. Offline

    javoris767

    Well i've been having problems with my server and the small lag, so I use it to make sure I'm not using too much ram.
     
  4. Offline

    RiotShielder

    Do you know what to run over ssh running CentOS? Thanks.

    EDIT: Nevermind, just used yum :p
     
  5. Offline

    MsHax085

    If the RAM usage goes up all the way to 90% + the health status will be set to Critical. If the free memory ain't too low and the health status is below critical you have to check the TPS and the other features if they are reaching too high levels. If not, it might be something with your pc or delay between you and the server.

    That's what I used when I ran CentOS, I didn't like using SSH for each actions so I went to another host, lol :)
    I'm not the best with SSH really, did you get the plugin working?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
  6. Offline

    RiotShielder

    Nope, ATM I am scouring the interwebs for a solution to install it, I used yum, which simply re-installed it :/
    I checked the java version after it failed again, still doesn't work.

    I have 1.6.0_22, why would I want a LOWER version? :confused:

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
  7. Offline

    MsHax085

    I never said anything about a lower version, I said you have the wrong version according to what I used for this plugin.
    It seems like you are running 1.6.0_22 while I'm running 1.7.0_05. Just checked if I could compile the plugin with another version, sadly I would have to recode certain parts to do so, nothing to prefare.
     
  8. Offline

    RiotShielder

    Try the new version (1.5.7) , anywho, I would love to try this out, but alas ssh is a bitch :(
     
  9. Offline

    Onyxian

    Hey, im new at this, but i owned a server for a while now, and i was looking for a plugin like this, but i was wondering if you could add one more feature, even when it is just for it to be more comfortable, i'd like you to add memory used, besides the free memory and the total memory, Thank you.
     
  10. Offline

    RiotShielder

    If you do simple math to subtract free and total that should tell you the used amount :)
     
  11. Offline

    MsHax085

    I kind of agree with RiotShield and it was a feature in an earlier (non-public) version of performance monitor. As two people have suggested this feature I might consider adding it in the next update and as with any other feature make an option to enable or disable this.
     
  12. Offline

    Onyxian

    Thank you
     
  13. Offline

    Wxisxawesome

    please make this open source because im trying to learn how to code better and it would be helpful to see how you did this.
     
  14. Offline

    MsHax085

    I will once there is enough requests. If you are new to coding the source code might be a bit difficult to understand as it's spread over many classes depending on it's functionality. I might as well have to do a bit more cleanup before I let it go open-source. :)
     
  15. Offline

    Mercury

  16. Offline

    MsHax085

    Made a spoiler for you guys to check up your errors, it's called "Problems installing?" and you can find this on my first post of this topic. If you are unsure about your java version you can always check out http://javatester.org/version.html, should do the job. Good luck :)
     
  17. Offline

    Franky1223

    I have a suggestion. Is it possible to count how many [Severe] errors happened since latest restart and if so, please include it in the monitor. It would help us very much as we don't always have access to the console. Thanks
     
  18. Offline

    grid21

    Hey I get this error upon loading my server. Any ideas?

    2012-07-25 06:33:02 [SEVERE] Could not load 'plugins\PerformanceMonitor 1.5.7.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/mshax085/PerformanceMonitor/Monitor : Unsupported major.minor ver
    sion 51.0
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:151)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:213)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:189)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:166)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.UnsupportedClassVersionError: me/mshax085/PerformanceMonitor/Monitor : Unsupported major.minor version 51.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:140)
    ... 8 more
     
  19. Offline

    MsHax085

    It is possible but I don't see why you would like to count those errors, if you want to fix those you need to see the error it self :)
    This is covered in my first topic and I answered several of those who get the same error in this topic, please read "Problems installing?" in my first post or read my other replies.
     
  20. Offline

    grid21

    Thanks MShax. i didn't know you made plugins. I would love to learn how to myself.
     
  21. Offline

    RiotShielder

    Hey, awesome plugin, few suggestions:
    In the config there should be an option for showing when you join, it's annoying getting spammed on start
    A Current FreeMem / TotalMem /FreeMem%. Would make that much easier, I.E.
    1000MB Free / 1500MB Total / 66% Free
    Lastly, allow the command to be run in the console ;)
     
  22. Offline

    MsHax085

    You can disable the status message upon login in the config, just set the 'statusMessageUponLogin' to false once the server is offline or replace it when you are restarting. Do you want me to make it show memory usage in percent?
    TotalMemory: 1000 mb
    FreeMemory: 100 mb (10%)

    would that do?
     
  23. Offline

    RiotShielder

    Easier to look at, also gives a quicker way to just see how much RAM is in use :p. For me it is easier to compare percentages than large numbers xD
     
  24. Offline

    MsHax085

    Version 1.5.9 released!
    This time there are just smaller things added plus some fixes.
    The biggest thing you may notice is the memory stats, there is a new option called max memory. This is how much memory your server can use as maximum. Many people probably confused total available memory with this earlier so I changed the titles as well. Three of the titles now says 'allocated memory', this is basically how much memory your server has to work with at the moment and if the memory keeps rising the server can borrow more from your server machine if there is any more available (max memory).

    There is also a bug fix with the server health, it shouldn't be set to low or critical depending on your total memory if you still have more available to allocate. Other than that, thanks for the requests I've got and keep sending me ideas if you have any for me :)
     
  25. Offline

    RiotShielder

    Yummy. Looks good.
     
  26. Offline

    MsHax085

    Updated to latest bukkit (R5.1)!
    The plugin is now available in both R4 and R5 :)
     
  27. Offline

    Darthmineboy

    Maybe add that you can see how much cpu you use? And how much bandwith in mbits you are using? One question, What is tps?
     
  28. Offline

    MsHax085

    Calculate CPU load is a bit difficult to do with java if I remember it right but bandwidth sounds like a good idea to add in the next update, thanks :).

    TPS was explained by a user of this plugin in a earlier post of this topic:
     
  29. Offline

    bman7

    It's good, my only complaint is that you can't see the info from the console, and I don't see why not. :/
     
  30. Offline

    MsHax085

    At the moment the plugin cannot send any information to the console as it is using player variables, especially for functions like fetching the world name etc. I might make you able to view the information from the console later on but for that I will have to modify some parts of the plugin.
     

Share This Page