add uptime
This commit is contained in:
parent
5e7dbfd40e
commit
a33a4ff822
|
@ -92,6 +92,12 @@ public class SysInfo extends SigarCommandBase {
|
|||
this.out.println("JAVA_HOME=" + System.getProperty("java.home"));
|
||||
this.out.println("");
|
||||
|
||||
/**
|
||||
* uptime
|
||||
*/
|
||||
new Uptime(this.shell).output(args);
|
||||
this.out.println("");
|
||||
|
||||
/**
|
||||
* CPU info
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue