mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Add more information to the debugpaste
This commit is contained in:
parent
01e66f8833
commit
01d2b0024f
@ -112,6 +112,8 @@ public class DebugPaste extends SubCommand {
|
|||||||
.append('\n');
|
.append('\n');
|
||||||
b.append("Max Memory: ").append(runtime.maxMemory() / 1024 / 1024 + " MB")
|
b.append("Max Memory: ").append(runtime.maxMemory() / 1024 / 1024 + " MB")
|
||||||
.append('\n');
|
.append('\n');
|
||||||
|
b.append("Total Memory: ").append(runtime.totalMemory() / 1024 / 1024 + " MB").append('\n');
|
||||||
|
b.append("Available Processors: ").append(runtime.availableProcessors()).append('\n');
|
||||||
b.append("Java Name: ").append(rb.getVmName()).append('\n');
|
b.append("Java Name: ").append(rb.getVmName()).append('\n');
|
||||||
b.append("Java Version: '").append(System.getProperty("java.version"))
|
b.append("Java Version: '").append(System.getProperty("java.version"))
|
||||||
.append("'\n");
|
.append("'\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user