From a33a4ff82268ccb8b14a1e49f6e204bc682caef1 Mon Sep 17 00:00:00 2001 From: John Sachs Date: Fri, 12 Nov 2004 18:58:23 +0000 Subject: [PATCH] add uptime --- bindings/java/src/net/hyperic/sigar/cmd/SysInfo.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bindings/java/src/net/hyperic/sigar/cmd/SysInfo.java b/bindings/java/src/net/hyperic/sigar/cmd/SysInfo.java index b5683dda..aa042ae8 100644 --- a/bindings/java/src/net/hyperic/sigar/cmd/SysInfo.java +++ b/bindings/java/src/net/hyperic/sigar/cmd/SysInfo.java @@ -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 */