/servermisc
Server-related commands
Syntax
/server [gc]RequiredOptional
Parameters
gcOptionalstringForce the server to do a GC
Subcommands
/server dumpDump the server's state
Parameters:
json- Dump as JSON format/server statsProvide stats about the machine hosting the server
Parameters:
cpu- Provide CPU statsgc- Provide GC statsmemory- Provide memory usage statsServer Messages
stats.fullInfoUnavailableFull information unavailable (unsupported host)
stats.cpu.fullUsageInfoSystem CPU Load: {systemLoad, number}\n\
stats.cpu.usageInfoLoad Average: {loadAverage, number}\n\
stats.gc.usageInfoName: {name}\n\
stats.memory.fullUsageInfoTotal Physical Memory: {totalPhysicalMemory}\n\
stats.memory.usageInfoHeap Memory Usage:\n{heapMemoryUsage}\n\
stats.memory.usage\tInit: {init}\n\
gc.forcedgcForced GC! Freed: {bytes}
gc.forcedgc.increasedForced GC! Didn't free; increased by {bytes}. Server is probably doing it's job!
dump.dumpingStateDumping current server state!
dump.finishedDump finished! File saved to: {filepath}
dump.errorFailed to write dump: {error}