add uptime
This commit is contained in:
1 parent
5e7dbfd40e
commit
a33a4ff822
1 file changed
+6
@@ -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
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user