6869707172737475767778
Thread freport = new Thread() { @Override public void run() { System.out.println("\nTotal"); System.out.println(fmon.calculateStats()); } }; Runtime.getRuntime().addShutdownHook(freport);