From b6197612467bed048a28167cc9a113364cc13a56 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 25 Sep 2006 12:58:17 +0000 Subject: [PATCH] add SysInfo.machine --- bindings/java/src/jni/generate.pl | 5 +++++ bindings/java/src/org/hyperic/sigar/cmd/Version.java | 1 + 2 files changed, 6 insertions(+) diff --git a/bindings/java/src/jni/generate.pl b/bindings/java/src/jni/generate.pl index e5e63276..ede78ffe 100644 --- a/bindings/java/src/jni/generate.pl +++ b/bindings/java/src/jni/generate.pl @@ -905,6 +905,11 @@ my %classes = ( desc => '', plat => '*' }, + { + name => 'machine', type => 'String', + desc => '', + plat => '*' + }, { name => 'description', type => 'String', desc => '', diff --git a/bindings/java/src/org/hyperic/sigar/cmd/Version.java b/bindings/java/src/org/hyperic/sigar/cmd/Version.java index 4bfb1ad1..e8dd3e44 100644 --- a/bindings/java/src/org/hyperic/sigar/cmd/Version.java +++ b/bindings/java/src/org/hyperic/sigar/cmd/Version.java @@ -105,6 +105,7 @@ public class Version extends SigarCommandBase { os.println("OS description......" + sys.getDescription()); os.println("OS name............." + sys.getName()); os.println("OS arch............." + sys.getArch()); + os.println("OS machine.........." + sys.getMachine()); os.println("OS version.........." + sys.getVersion()); os.println("OS patch level......" + sys.getPatchLevel()); os.println("OS vendor..........." + sys.getVendor());