From 17ef450dd8940e078c4d44f2cab2fd7ead0dad30 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Wed, 28 Jul 2004 14:58:28 +0000 Subject: [PATCH] display archlib --- bindings/java/src/net/hyperic/sigar/cmd/Version.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bindings/java/src/net/hyperic/sigar/cmd/Version.java b/bindings/java/src/net/hyperic/sigar/cmd/Version.java index 4f7e35ba..e58bdeb1 100644 --- a/bindings/java/src/net/hyperic/sigar/cmd/Version.java +++ b/bindings/java/src/net/hyperic/sigar/cmd/Version.java @@ -7,6 +7,7 @@ import java.net.UnknownHostException; import net.hyperic.sigar.Sigar; import net.hyperic.sigar.SigarException; +import net.hyperic.sigar.SigarLoader; /** * Display Sigar, java and system version information. */ @@ -55,6 +56,8 @@ public class Version extends SigarCommandBase { String host = getHostName(); os.println("Sigar version=" + Sigar.VERSION_STRING); os.println("Sigar build date=" + Sigar.BUILD_DATE); + os.println("Sigar archlib=" + + SigarLoader.getNativeLibraryName()); os.println("Current fqdn=" + fqdn); if (!fqdn.equals(host)) { os.println("Current host=" + host);