ãã®åãè¥æã«èãããã®ã§ãããã«ãæ¸ãã¦ããã
好ã¿ã§ã¯æãããå¯è½ãªéãæ°åã®ã¿ã§æ¨æºåºåã«åºããããã«ãã¦ããã¨ãã¹ã¯ãªããã®ä¸ãªã©ã§ä¸¦åå®è¡æ°ãåçã«å®ç¾©ããããã
ã¡ãªã¿ã«ä¸è¨ã®åæã¯ãCentOS 6.6 & 56ã³ã¢(ï¼)ã®ãµã¼ãã§ç¢ºèªãã¦ããã
nproc
# nproc 56
ä¸çªç°¡åãªãã¤ã
getconf
# getconf _NPROCESSORS_ONLN 56
getconfã§ãæ¾ããã
/proc/cpuinfo
# cat /proc/cpuinfo | grep -c "processor" 56
çããããåç¥ã®éãã /proc/cpuinfo ã¯å¤ãã®CPUæ
å ±ãåå¾ãããã¨ãåºæ¥ãã
ä½è«ã ãã©ã /proc/cpuinfo ã«å«ã¾ãã"physical id"ã¯ã©ã®ç©çã½ã±ããããã¨ãã"core id"ãè¦ãã¨ç©çã³ã¢(HTé¢é£ãªã©ã§è«çã³ã¢ã®ç´ä»ãã確èªãããã¨ã)ãªã©ã確èªã§ããã
lscpu
# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 56 On-line CPU(s) list: 0-55 Thread(s) per core: 2 Core(s) per socket: 14 Socket(s): 2 NUMA node(s): 2 Vendor ID: GenuineIntel CPU family: 6 Model: 63 Stepping: 2 CPU MHz: 2300.044 BogoMIPS: 4599.34 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 35840K NUMA node0 CPU(s): 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54 NUMA node1 CPU(s): 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55
lscpuã³ãã³ã㯠/proc/cpuinfo åæ§ãç´°ããCPUæ å ±ã確èªã§ããã
ã¨ã¾ãããããªã¨ããããªã
ããã§ã¯ï¼=͟͟͞͞(๑•̀=͟͟͞͞(๑•̀д•́=͟͟͞͞(๑•̀д•́๑)=͟͟͞͞(๑•̀д•́
ãããã¦èªã¿ãã
- ä½è : æ± ç°å®åº,大岩å°å®,島æ¬è£å¿,竹é¨æ¶é,å¹³æ¾é å·³,é«æ©æµ©å
- åºç社/ã¡ã¼ã«ã¼: ãªã©ã¤ãªã¼ã¸ã£ãã³
- çºå£²æ¥: 2011/07/26
- ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼
- è³¼å ¥: 4人 ã¯ãªãã¯: 50å
- ãã®ååãå«ãããã°ãè¦ã