Description
Want to to check that your host has given you the proper amount of RAM? Want to see how many cores your CPU has? Want to see the Java startup parameters your host is using? This simple plugin will dump out all this information and more to your server log file at startup. Simply place it in your plugins folder and the information will be logged the next time your server starts.
Here's an example of the output:
Spoiler
[SystemProperties] ------------------------------------------------------------
[SystemProperties] System.ViaVersion: 2.0.2-SNAPSHOT
[SystemProperties] System.awt.toolkit: sun.awt.X11.XToolkit
[SystemProperties] System.bstats.relocatecheck: false
[SystemProperties] System.file.encoding: UTF-8
[SystemProperties] System.file.encoding.pkg: sun.io
[SystemProperties] System.file.separator: /
[SystemProperties] System.fml.queryResult: confirm
[SystemProperties] System.java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
[SystemProperties] System.java.awt.printerjob: sun.print.PSPrinterJob
[SystemProperties] System.java.class.path: /home/mch/multicraft/servers/server32768/custom.jar
[SystemProperties] System.java.class.version: 52.0
[SystemProperties] System.java.endorsed.dirs: /usr/lib/jvm/jre1.8.0_202/lib/endorsed
[SystemProperties] System.java.ext.dirs: /usr/lib/jvm/jre1.8.0_202/lib/ext:/usr/java/packages/lib/ext
[SystemProperties] System.java.home: /usr/lib/jvm/jre1.8.0_202
[SystemProperties] System.java.io.tmpdir: /tmp
[SystemProperties] System.java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
[SystemProperties] System.java.runtime.name: Java(TM) SE Runtime Environment
[SystemProperties] System.java.runtime.version: 1.8.0_202-b08
[SystemProperties] System.java.specification.name: Java Platform API Specification
[SystemProperties] System.java.specification.vendor: Oracle Corporation
[SystemProperties] System.java.specification.version: 1.8
[SystemProperties] System.java.vendor: Oracle Corporation
[SystemProperties] System.java.vendor.url: http://java.oracle.com/
[SystemProperties] System.java.vendor.url.bug: http://bugreport.sun.com/bugreport/
[SystemProperties] System.java.version: 1.8.0_202
[SystemProperties] System.java.vm.info: mixed mode
[SystemProperties] System.java.vm.name: Java HotSpot(TM) 64-Bit Server VM
[SystemProperties] System.java.vm.specification.name: Java Virtual Machine Specification
[SystemProperties] System.java.vm.specification.vendor: Oracle Corporation
[SystemProperties] System.java.vm.specification.version: 1.8
[SystemProperties] System.java.vm.vendor: Oracle Corporation
[SystemProperties] System.java.vm.version: 25.202-b08
[SystemProperties] System.jline.terminal: jline.UnsupportedTerminal
[SystemProperties] System.line.separator:
[SystemProperties] System.org.bukkit.craftbukkit.libs.jline.terminal: org.bukkit.craftbukkit.libs.jline.UnsupportedTerminal
[SystemProperties] System.os.arch: amd64
[SystemProperties] System.os.name: Linux
[SystemProperties] System.os.version: 4.4.0-87-generic
[SystemProperties] System.path.separator: :
[SystemProperties] System.sun.arch.data.model: 64
[SystemProperties] System.sun.boot.class.path: /usr/lib/jvm/jre1.8.0_202/lib/resources.jar:/usr/lib/jvm/jre1.8.0_202/lib/rt.jar:/usr/lib/jvm/jre1.8.0_202/lib/sunrsasign.jar:/usr/lib/jvm/jre1.8.0_202/lib/jsse.jar:/usr/lib/jvm/jre1.8.0_202/lib/jce.jar:/usr/lib/jvm/jre1.8.0_202/lib/charsets.jar:/usr/lib/jvm/jre1.8.0_202/lib/jfr.jar:/usr/lib/jvm/jre1.8.0_202/classes
[SystemProperties] System.sun.boot.library.path: /usr/lib/jvm/jre1.8.0_202/lib/amd64
[SystemProperties] System.sun.cpu.endian: little
[SystemProperties] System.sun.cpu.isalist:
[SystemProperties] System.sun.font.fontmanager: sun.awt.X11FontManager
[SystemProperties] System.sun.io.unicode.encoding: UnicodeLittle
[SystemProperties] System.sun.java.command: /home/mch/multicraft/servers/server32768/custom.jar nogui
[SystemProperties] System.sun.java.launcher: SUN_STANDARD
[SystemProperties] System.sun.jnu.encoding: UTF-8
[SystemProperties] System.sun.management.compiler: HotSpot 64-Bit Tiered Compilers
[SystemProperties] System.sun.os.patch.level: unknown
[SystemProperties] System.user.country: US
[SystemProperties] System.user.dir: /home/mch/multicraft/servers/server32768
[SystemProperties] System.user.home: /home/mch/multicraft/servers/server32768
[SystemProperties] System.user.language: en
[SystemProperties] System.user.name: mc32768
[SystemProperties] System.user.timezone: America/New_York
[SystemProperties] Runtime.availableProcessors: 16
[SystemProperties] Runtime.freeMemory: 452249856
[SystemProperties] Runtime.maxMemory: 3758096384
[SystemProperties] Runtime.totalMemory: 1213202432
[SystemProperties] RuntimeMXBean.InputArguments:
[SystemProperties] -Xmx3584M
[SystemProperties] -Xms128M
[SystemProperties] -XX:+UseG1GC
[SystemProperties] -Dfml.queryResult=confirm
[SystemProperties] -Djline.terminal=jline.UnsupportedTerminal
[SystemProperties] -Xss4M
[SystemProperties] ------------------------------------------------------------
Since the information will rarely change, you can remove the file from your plugins folder so it doesn't fill up your log file unnecessarily for every startup. Simply put it back if you feel you need to check the information again.
If you're running an older version of Spigot, use SystemProperties version 1.04 from the "Version History" tab above.
Commands/Permissions
/systemproperties dump (or /sysp dump) will dump the data to the log file on demand. This command requires the permission systemproperties.dump, which defaults to op. Note the data is always dumped at startup.
Configuration
None.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta