My Linux machine reports "uname -a" outputs as below:-
[root@tom i386]# uname -a
Linux tom 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:34:33 EDT 2009 i686 i686 i386 GNU/Linux
[root@tom i386]#
As per man page of uname, the entries "i686 i686 i386" denotes:-
machine hardware name (i686)
processor type (i686)
hardware platform (i386)
Additional info:
[root@tom i386]# cat /proc/cpuinfo
<snip>
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU 5148 @ 2.33GHz
stepping : 6
cpu MHz : 2328.038
cache size : 4096 KB
</snip>
Just to add, why i am interested to know it. When i build an RPM on this machine. I found two directories under RPM directory: i386 i686
So if i want to automate the copying of generated RPM to a location, whichdirectory should i specify in the shell script? I am using uname -p
which gives i686 but RPM generated i386.