add uptime

This commit is contained in:
John Sachs 2004-11-12 18:58:23 +00:00
parent 5e7dbfd40e
commit a33a4ff822
1 changed files with 6 additions and 0 deletions

View File

@ -92,6 +92,12 @@ public class SysInfo extends SigarCommandBase {
this.out.println("JAVA_HOME=" + System.getProperty("java.home")); this.out.println("JAVA_HOME=" + System.getProperty("java.home"));
this.out.println(""); this.out.println("");
/**
* uptime
*/
new Uptime(this.shell).output(args);
this.out.println("");
/** /**
* CPU info * CPU info
*/ */