免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2549 | 回复: 1
打印 上一主题 下一主题

请教: cpu的类型的疑惑. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-02-13 05:27 |显示全部楼层 |倒序浏览
我有一网站, 放在一个web hosting公司.给我说的是intel 的cpu. 我想验证一下.

我在自己的开发机(intel cpu)上, 写了一个简单的c程序.用file命令一看, 输出如下:

root@dc1:# file test
test: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for GNU/Linux 2.6.15, not stripped


我把这个程序上载到web hosting的主机, 同样用file命令, 输出如下:

$file test
test: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.15, statically linked, not stripped


为啥在web hosting的主机上, 显示是AMD的cpu呢? 而且, 在web  hosting 主机上, 我more /proc/cpuinfo, 得到如下输出
$more /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Xeon(R) CPU           E5450  @ 3.00GHz
stepping        : 6
cpu MHz         : 3000.174
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush
dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_goo
d pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr dca sse4_1 lahf_lm
bogomips        : 6004.73
clflush size    : 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel

又显示cpu是intel的?

请问这是怎么回事?

谢谢了.

论坛徽章:
0
2 [报告]
发表于 2011-02-14 07:40 |显示全部楼层
谢谢回复.


是不是通过命令file, 我们看不出cpu的类型?

只要/proc/cpuinfo里才能看出cpu的类型?

谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP