Original report is at http://www.netbeans.org/issues/show_bug.cgi?id=143095 Once fixed please send me updated sources/diff so I can keep our private copy in sync. Here is the code for Solaris CPU Manufacturer. private String getSolarisCpuManufacturer() { // not fully accurate, this could be another manufacturer (fujitsu for example) if ("sparc".equalsIgnoreCase(System.getProperty("os.arch"))) { return "Sun Microsystems, Inc"; } // if we're here, then we'll try smbios (type 3) return getSmbiosData("3", "Manufacturer: "); } However it is needed to check the paramter "4" to get CPU information. ----------------- -->/usr/sbin/smbios -t 4 ID SIZE TYPE 4 66 SMB_TYPE_PROCESSOR (processor) Manufacturer: AMD Version: AMD Location Tag: CPU1 .. I checked on "SunOS 5.11 snv_79 i86pc i386 i86pc".
|