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

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
자료 감사합니다.
감사합니다 ^^
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

태그 필터 (최대 3개) 전체 개발자 소스 기타 mysql 팁자료실 javascript php linux flash 정규표현식 jquery node.js mobile 웹서버 os 프로그램 강좌 썸네일 이미지관련 도로명주소 그누보드5 기획자 견적서 계약서 기획서 마케팅 제안서 seo 통계 서식 통계자료 퍼블리셔 html css 반응형 웹접근성 퍼블리싱 표준화 반응형웹 홈페이지기초 부트스트랩 angularjs 포럼 스크린리더 센스리더 개발자톡 개발자팁 퍼블리셔톡 퍼블리셔팁 기획자톡 기획자팁 프로그램강좌 퍼블리싱강좌
+
제목 글쓴이 날짜 조회
14년 전 조회 1,222
14년 전 조회 888
14년 전 조회 1,856
14년 전 조회 1,436
14년 전 조회 988
14년 전 조회 2,381
14년 전 조회 1,486
14년 전 조회 1,410
14년 전 조회 949
14년 전 조회 1,824
14년 전 조회 2,794
14년 전 조회 1,267
14년 전 조회 680
14년 전 조회 2,239
14년 전 조회 2,012
14년 전 조회 954
14년 전 조회 1,534
14년 전 조회 1,710
14년 전 조회 1,571
14년 전 조회 926
14년 전 조회 894
14년 전 조회 1,210
14년 전 조회 1,529
14년 전 조회 1,386
14년 전 조회 1,062
14년 전 조회 1,492
14년 전 조회 1,334
14년 전 조회 1,615
14년 전 조회 1,069
14년 전 조회 1,300
14년 전 조회 1,099
14년 전 조회 1,467
14년 전 조회 924
14년 전 조회 2,327
14년 전 조회 1,528
14년 전 조회 3,120
14년 전 조회 1,503
14년 전 조회 1,277
14년 전 조회 1,326
14년 전 조회 1,315
14년 전 조회 793
14년 전 조회 1,036
14년 전 조회 1,092
14년 전 조회 2,555
14년 전 조회 1,174
14년 전 조회 3,548
14년 전 조회 1,013
14년 전 조회 846
14년 전 조회 920
14년 전 조회 1,898
14년 전 조회 1,520
14년 전 조회 1,336
14년 전 조회 1,394
14년 전 조회 1,322
14년 전 조회 1,430
14년 전 조회 1,084
14년 전 조회 683
14년 전 조회 1,198
14년 전 조회 2,356
14년 전 조회 1,673
14년 전 조회 2,038
14년 전 조회 1,095
14년 전 조회 1,417
14년 전 조회 1,717
14년 전 조회 1,850
14년 전 조회 1,211
14년 전 조회 1,131
14년 전 조회 1,221
14년 전 조회 660
14년 전 조회 1,358
14년 전 조회 970
14년 전 조회 1,254
14년 전 조회 1,478
14년 전 조회 1,255
14년 전 조회 1,410
14년 전 조회 1,077
14년 전 조회 1,916
14년 전 조회 1,018
14년 전 조회 1,393
14년 전 조회 1,460
14년 전 조회 1,664
14년 전 조회 848
14년 전 조회 1,552
14년 전 조회 1,424
14년 전 조회 1,122
14년 전 조회 2,148
14년 전 조회 1,253
14년 전 조회 1,191
14년 전 조회 1,414
14년 전 조회 1,176
14년 전 조회 1,380
14년 전 조회 1,344
14년 전 조회 975
14년 전 조회 1,696
14년 전 조회 1,701
14년 전 조회 673
14년 전 조회 693
14년 전 조회 3,124
14년 전 조회 2,053
14년 전 조회 1,174