빅

cpu 아키텍처 확인하기 + 알파

· 2011-03-04 (금) 10:53:59 · 3173 · 6
uname 이라는 명령이 있습니다.

mysql performance를 좋게 하기위해 64bit server os 를 설치할 경우가 있습니다.



uname -rm ---> 이 명령을 가장 많이 사용합니다.

2.6.18-164.9.1.el5 i686
커널 버전 cpu 아키텍처

x86 이렇게 보이면 64bit os 로 설치 된것입니다.


옵션입니다. 참고하세요.

Print certain system information. With no OPTION, same as -s.

-a, --all print all information, in the following order,
except omit -p and -i if unknown:
-s, --kernel-name print the kernel name
-n, --nodename print the network node hostname
-r, --kernel-release print the kernel release
-v, --kernel-version print the kernel version
-m, --machine print the machine hardware name
-p, --processor print the processor type or "unknown"
-i, --hardware-platform print the hardware platform or "unknown"
-o, --operating-system print the operating system
--help display this help and exit
--version output version information and exit


cpu 종류를 확인하고자 한다면 아래 명령을 사용합니다.

[root@test ~]# cat /proc/cpuinfo

...
model name : Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
...


랜카드 정보를 확인할려면 아래 명령을 사용합니다.

[root@test ~]# lspci

...
00:08.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 40)
...


다른 기본 정보를 확인하실려면 hwconf 파일을 보세요.

[root@test ~]# vi /etc/sysconfig/hwconf

[root@test ~]# cat /var/log/messages | grep "CPU"

Nov 18 18:42:17 localhost kernel: Initializing CPU#0
Nov 18 18:42:17 localhost kernel: CPU 0 irqstacks, hard=c0761000 soft=c0741000
Nov 18 18:42:17 localhost kernel: CPU: L1 I cache: 32K, L1 D cache: 32K
Nov 18 18:42:17 localhost kernel: CPU: L2 cache: 2048K
Nov 18 18:42:17 localhost kernel: Intel machine check reporting enabled on CPU#0.
Nov 18 18:42:17 localhost kernel: CPU0: Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz stepping 0a
...

root@test ~]# cat /var/log/messages | grep eth0

Nov 18 18:42:17 localhost kernel: eth0: registered as PCnet/FAST III 79C973
Nov 18 18:42:18 localhost kernel: eth0: link up, 100Mbps, full-duplex
...


자세한 정보를 확인할려면 lshw 패키지를 설치하셔서 보시면 됩니다.

[root@test src]# lshw -short

H/W path Device Class Description
======================================================
system VirtualBox
/0 bus Motherboard
/0/0 memory 128KiB BIOS
/0/1 memory 511MiB System memory
/0/2 processor Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
/0/2/0.1 processor Logical CPU
/0/2/0.2 processor Logical CPU
/0/2/0.3 processor Logical CPU
/0/2/0.4 processor Logical CPU
/0/100 bridge 440FX - 82441FX PMC [Natoma]
/0/100/1 bridge 82371SB PIIX3 ISA [Natoma/Triton II]
/0/100/1.1 storage 82371AB/EB/MB PIIX4 IDE
/0/100/1.1/0 ide0 bus IDE Channel 0
/0/100/1.1/0/0 /dev/hda disk 21GB VBOX HARDDISK
/0/100/1.1/0/0/1 /dev/hda1 volume 101MiB EXT3 volume
/0/100/1.1/0/0/2 /dev/hda2 volume 10001MiB EXT3 volume
/0/100/1.1/0/0/3 /dev/hda3 volume 1004MiB Linux swap volume
/0/100/1.1/0/0/4 /dev/hda4 volume 9366MiB Extended partition
/0/100/1.1/0/0/4/5 /dev/hda5 volume 9365MiB Linux filesystem partition
/0/100/1.1/1 ide1 bus IDE Channel 1
/0/100/1.1/1/0 /dev/hdc disk VBOX CD-ROM
/0/100/2 display VirtualBox Graphics Adapter
/0/100/3 eth0 network 79c970 [PCnet32 LANCE]
/0/100/4 system VirtualBox Guest Service
/0/100/5 multimedia 82801AA AC'97 Audio Controller
/0/100/6 bus KeyLargo/Intrepid USB
/0/100/6/1 usb2 bus OHCI Host Controller
/0/100/7 bridge 82371AB/EB/MB PIIX4 ACPI
/0/100/8 eth1 network 79c970 [PCnet32 LANCE]
/0/100/b bus 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller
/0/100/b/1 usb1 bus EHCI Host Controller<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]</div>
|

댓글 6개

까페24에서 비지니스 가상호스팅(월 2만원도 안함)을 하는데... 아래처럼 나오네요...
가상이지만 CPU를 7개나? 정말?
========================================================================================


[root@jonielm ~]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5506 @ 2.13GHz
stepping : 5
cpu MHz : 2127.998
cache size : 4096 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc pni est ssse3 cx16 sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5326.67
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5506 @ 2.13GHz
stepping : 5
cpu MHz : 2127.998
cache size : 4096 KB
physical id : 1
siblings : 1
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc pni est ssse3 cx16 sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5326.67
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5506 @ 2.13GHz
stepping : 5
cpu MHz : 2127.998
cache size : 4096 KB
physical id : 2
siblings : 1
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc pni est ssse3 cx16 sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5326.67
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5506 @ 2.13GHz
stepping : 5
cpu MHz : 2127.998
cache size : 4096 KB
physical id : 3
siblings : 1
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc pni est ssse3 cx16 sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5326.67
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

processor : 4
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5506 @ 2.13GHz
stepping : 5
cpu MHz : 2127.998
cache size : 4096 KB
physical id : 4
siblings : 1
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc pni est ssse3 cx16 sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5326.67
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

processor : 5
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5506 @ 2.13GHz
stepping : 5
cpu MHz : 2127.998
cache size : 4096 KB
physical id : 5
siblings : 1
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc pni est ssse3 cx16 sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5326.67
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

processor : 6
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5506 @ 2.13GHz
stepping : 5
cpu MHz : 2127.998
cache size : 4096 KB
physical id : 6
siblings : 1
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc pni est ssse3 cx16 sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5326.67
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5506 @ 2.13GHz
stepping : 5
cpu MHz : 2127.998
cache size : 4096 KB
physical id : 7
siblings : 1
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc pni est ssse3 cx16 sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5326.67
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
Processor Number E5506
# of Cores 4
# of Threads 4
2011-08-04 (목) 19:58:50
111111111
감사요
자료 감사합니다.
감사합니다 ^^
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
11-09-08 조회 2,725
11-09-05 조회 2,595
11-09-02 조회 3,447
11-09-01 조회 2,545
11-09-01 조회 2,714
11-09-01 조회 4,006
11-08-31 조회 2,733
11-08-28 조회 2,457
11-08-26 조회 2,367
11-08-19 조회 2,597
11-08-19 조회 2,519
11-08-17 조회 2,626
11-08-17 조회 2,702
11-08-13 조회 2,509
11-08-11 조회 3,477
11-08-11 조회 2,705
11-08-08 조회 2,948
11-08-06 조회 2,698
11-08-06 조회 2,792
11-08-05 조회 2,993
11-08-05 조회 2,432
11-08-04 조회 2,879
11-08-02 조회 2,371
11-07-22 조회 3,927
11-07-21 조회 2,248
11-07-13 조회 2,619
11-07-08 조회 2,927
11-07-05 조회 2,068
11-06-28 조회 3,025
11-06-22 조회 2,512
11-06-22 조회 2,191
11-06-13 조회 2,293
11-06-07 조회 4,116
11-06-04 조회 2,917
11-05-19 조회 3,190
11-05-06 조회 2,937
11-04-20 조회 2,367
11-04-19 조회 2,504
11-04-05 조회 3,059
11-04-04 조회 2,970
11-04-03 조회 2,686
11-04-02 조회 2,805
11-04-01 조회 2,312
11-04-01 조회 2,462
11-04-01 조회 3,056
11-03-25 조회 2,531
11-03-18 조회 2,227
11-03-17 조회 3,168
11-03-10 조회 2,314
11-03-10 조회 2,310
11-03-10 조회 2,562
11-03-07 조회 3,730
11-03-05 조회 2,420
11-03-05 조회 4,907
11-03-02 조회 2,514
11-03-01 조회 2,472
11-02-24 조회 2,542
11-02-24 조회 2,372
11-01-17 조회 5,099
11-01-14 조회 3,054
11-01-07 조회 3,054
10-12-29 조회 2,393
10-12-28 조회 2,606
10-12-24 조회 2,343
10-12-09 조회 2,428
10-12-09 조회 3,630
10-12-08 조회 3,610
10-12-08 조회 3,011
10-12-08 조회 2,854
10-12-08 조회 3,247
10-11-30 조회 2,619
10-11-25 조회 2,482
10-11-15 조회 2,238
10-11-14 조회 4,211
10-10-28 조회 2,892
10-10-26 조회 3,191
10-10-13 조회 2,473
10-10-12 조회 2,693
10-10-09 조회 2,278
10-10-05 조회 3,291
10-09-30 조회 2,957
10-09-26 조회 4,077
10-09-24 조회 2,821
10-09-20 조회 2,659
10-09-20 조회 3,032
10-09-18 조회 2,400
10-09-18 조회 2,446
10-09-17 조회 4,230
10-09-15 조회 3,221
10-09-15 조회 2,710
10-09-15 조회 2,565
10-09-15 조회 2,384
10-09-11 조회 2,543
10-09-11 조회 2,706
10-09-11 조회 2,956
10-06-30 조회 3,651
10-06-30 조회 2,453
10-06-30 조회 2,415
10-06-30 조회 2,565
10-06-11 조회 2,479