Moving information about tmpdir contents to the end as this can be very long

This commit is contained in:
Simon Pamies
2013-03-29 16:04:03 +01:00
parent d858be97f3
commit 548b96c04b
@@ -244,9 +244,6 @@ public class SystemInformationImpl implements SystemInformation {
result.append(getTotalZombieProcesses()).append(" (total processes zombie)").append("\n");
result.append(getTotalProcesses()).append(" (total)").append("\n");
result.append("Contents of TMP directory (java.io.tmpdir)").append("\n");
result.append(Arrays.toString(new File(System.getProperty("java.io.tmpdir")).listFiles()));
result.append("\nMemory:\n");
result.append(getFreeMemoryGlobal()/1000 + "kb (free, not cached, not inactive)\n");
result.append(getFreeMemoryJVM()/1000 + "kb (free JVM)\n");
@@ -294,6 +291,10 @@ public class SystemInformationImpl implements SystemInformation {
)
result.append(ns.toString()).append("\n");
}
result.append("Contents of TMP directory (java.io.tmpdir)").append("\n");
result.append(Arrays.toString(new File(System.getProperty("java.io.tmpdir")).listFiles()));
} catch (Exception ex) {
ex.printStackTrace();
}