바로가기 메뉴
메인메뉴 바로가기
본문내용 바로가기
  1. HOME  >
  2.   Case Management  >
  3.   Knowledge Search

Knowledge Search

Knowledge search

Title

[공통] CO_UNAME 결과를 위한 OS별 CPU 확인(UNIX)

Product

Plug-In

Phenomenon

라이선스 발급을 위해 $CO_HOME/bin/co_uname을 실행하여
그 결과값을 보내주어야 한다.

최신 OS에서는 CPU를 Virtual를 사용할 수 있기 때문에
CO_UNAME 결과 중 CPU의 갯수가 다르게 나올 수 있다.

Cause

최신 OS에서는 CPU를 Virtual를 사용하여 CPU를 분배할 수 있다.


Solution

다음과 같은 명령어를 통해 그 결과값을 확인할 수 있다.
Unix/Linux CPU(core) 개수 확인 명령어


Solaris

The following command will give you the total number of physical processors in the server.

# psrinfo -p

2

The following command will return the total number of threads/cores in the server. (

# psrinfo | wc -l

8

The following command will return detailed information about each physical processor.

# psrinfo -pv

2

The physical processor has 4 virtual processors (0 2 4 6)

x86 (chipid 0x0 GenuineIntel family 6 model 15 step 7 clock 2333 MHz)

Intel(r) Xeon(r) CPU E5345 @ 2.33GHz

The physical processor has 4 virtual processors (1 3 5 7)

x86 (chipid 0x1 GenuineIntel family 6 model 15 step 7 clock 2333 MHz)

Intel(r) Xeon(r) CPU E5345 @ 2.33GHz

--------------------------------------------------------------------------------------------------------------------------

Linux

The following command will return the total number of threads/cores in the server.

# grep -c "^processor" /proc/cpuinfo

2

The following command will return detailed information about each physical processor.

# egrep -i "^model name|^core id|^cpu MHz" /proc/cpuinfo

model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+

cpu MHz : 1000.000

core id : 0

model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+

cpu MHz : 1000.000

core id : 1

--------------------------------------------------------------------------------------------------------------------------

HP-UX

The following commands will return the total number of threads/cores in the server.

# mpsched -s | grep "Processor Count"

Processor Count : 4

or

# machinfo | grep "Number of CPUs"

Number of CPUs = 4

or

# /usr/sbin/ioscan -kf | grep processor | wc -l

4

The following command will return detailed information about each physical processor.

# machinfo

CPU info:

Number of CPUs = 4

Clock speed = 1595 MHz

Bus speed = 532 MT/s

CPUID registers

vendor information = "GenuineIntel"

processor serial number = 0x0000000000000000

processor version info = 0x0000000020000704



Reference:

* Howto find CPU is dual/quad core in HP-UX

--------------------------------------------------------------------------------------------------------------------------

AIX

The following commands will give you the total number of physical processors in the server.

# lsdev -Cc processor |wc ?l

or

# prtconf | grep Processor

or

The following command will return the total number of threads/cores in the server.

# bindprocessor -q

The following command will return detailed information about each physical processor.

# prtconf

and

# lsattr -El sys0 -a modelname

and

# lparstat -i|grep ^Active Phys

--------------------------------------------------------------------------------------------------------------------------




file 라이선스요청용 CPU_시스템 정보 확인.xlsx
  • 리스트

사이트정보

서울특별시 강남구 역삼동 703-5 일환빌딩 9층 (주)이글로벌시스템  TEL : 02-6447-6988  FAX : 02-6447-6989

Copyright 2013 (주)이글로벌시스템 All Rights Reserved.