On Mon, Apr 27, 2009 at 6:53 PM, Martin Bochnig <mar...@martux.org> wrote: > On Mon, Apr 27, 2009 at 5:45 PM, Alan Coopersmith > <alan.coopersm...@sun.com> wrote: >> >> >> Alexander Eremin wrote: >>> Hi, >>> I see now it's a bug 2820 "Uname -m" does not report Operating System's >>> mode correctly (32 or 64 bit). >> >> It's not supposed to: >> >> -m Prints the machine hardware name (class). >> Use of this option is discouraged. Use >> uname -p instead. See NOTES section below. >> >> The arch -k and uname -m commands return equivalent values; >> however, the use of either of these commands by third party >> programs is discouraged, as is the use of the arch command >> in general. To determine the machine's Instruction Set >> Architecture (ISA or processor type), use uname with the -p >> option. > > > > isainfo -k was always the "recommended" way.
And still!! Even on 2009.06_b111: mar...@opensolaris:~$ prtdiag System Configuration: FUJITSU SIEMENS AMILO Notebook Pa 3515 BIOS Configuration: Phoenix Technologies LTD V1.13 10/06/2008 ==== Processor Sockets ==================================== Version Location Tag -------------------------------- -------------------------- Athlon X2 QL-62 Socket S1G2 ==== Memory Device Sockets ================================ Type Status Set Device Locator Bank Locator ----------- ------ --- ------------------- ---------------- DDR2 in use 1 S1 DIMM1 DDR2 in use 2 S2 DIMM2 ==== On-Board Devices ===================================== ATI RS690M ESS 1869 ==== Upgradeable Slots ==================================== ID Status Type Description --- --------- ---------------- ---------------------------- 11 available PCI MINI PCI mar...@opensolaris:~$ psrinfo -v Status of virtual processor 0 as of: 04/27/2009 18:54:26 on-line since 04/27/2009 14:37:36. The i386 processor operates at 2000 MHz, and has an i387 compatible floating point processor. Status of virtual processor 1 as of: 04/27/2009 18:54:26 on-line since 04/27/2009 14:37:39. The i386 processor operates at 2000 MHz, and has an i387 compatible floating point processor. mar...@opensolaris:~$ uname -m i86pc mar...@opensolaris:~$ uname -p i386 mar...@opensolaris:~$ uname -a SunOS opensolaris 5.11 snv_111 i86pc i386 i86pc Solaris mar...@opensolaris:~$ arch -k i86pc mar...@opensolaris:~$ isainfo -k amd64 mar...@opensolaris:~$ --->> Everything but isainfo shows incorrect results (not only o this box, on _many_). <<--- > > %martin > _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org