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());