}
public static Map<String, String> getAllInfo(Sigar sigar) throws SigarException {
Map<String, String> map = new TreeMap<String, String>();
CpuInfo cpu = sigar.getCpuInfoList()[0];
map.put("CPU Vendor", cpu.getVendor());
map.put("CPU Model", cpu.getModel());
map.put("CPU Mhz", String.valueOf(cpu.getMhz()));
map.put("Java Vendor", System.getProperty("java.vendor"));
map.put("Java Version", System.getProperty("java.version"));
map.put("Java Arch DM", System.getProperty("sun.arch.data.model"));
map.put("OS Name", System.getProperty("os.name"));
map.put("OS Version", System.getProperty("os.version"));