add SysInfo.machine

This commit is contained in:
Doug MacEachern 2006-09-25 12:58:17 +00:00
parent 3633786fce
commit b619761246
2 changed files with 6 additions and 0 deletions

View File

@ -905,6 +905,11 @@ my %classes = (
desc => '', desc => '',
plat => '*' plat => '*'
}, },
{
name => 'machine', type => 'String',
desc => '',
plat => '*'
},
{ {
name => 'description', type => 'String', name => 'description', type => 'String',
desc => '', desc => '',

View File

@ -105,6 +105,7 @@ public class Version extends SigarCommandBase {
os.println("OS description......" + sys.getDescription()); os.println("OS description......" + sys.getDescription());
os.println("OS name............." + sys.getName()); os.println("OS name............." + sys.getName());
os.println("OS arch............." + sys.getArch()); os.println("OS arch............." + sys.getArch());
os.println("OS machine.........." + sys.getMachine());
os.println("OS version.........." + sys.getVersion()); os.println("OS version.........." + sys.getVersion());
os.println("OS patch level......" + sys.getPatchLevel()); os.println("OS patch level......" + sys.getPatchLevel());
os.println("OS vendor..........." + sys.getVendor()); os.println("OS vendor..........." + sys.getVendor());