mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-22 21:55:39 +00:00
Moving information about tmpdir contents to the end as this can be very long
This commit is contained in:
+4
-3
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user