add SysInfo.machine
This commit is contained in:
		
							parent
							
								
									3633786fce
								
							
						
					
					
						commit
						b619761246
					
				@ -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 => '',
 | 
				
			||||||
 | 
				
			|||||||
@ -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());
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user