static S diskSpaceEtcBot_answer(S s) { new Matches m; if "disk space | get disk space" ret diskSpaceEtcBot_diskSpace(); if "uptime" ret backtick("uptime"); if "full memory stats" { time { System.gc(); } ret "GC done in " + getLastTiming() + " ms. " + getMemoryInfoPlusSystemMemory(); } // memory stats without triggering garbage collection if "memory stats" ret getMemoryInfoPlusSystemMemory(); if "vm args" ret "This VM was invoked with: " + getVMCommand(); if "system properties" ret slackSnippet(structureLines(System.getProperties())); if "system load" ret formatDouble(systemLoad(), 2); null; }