<<스 장비에 한함>>

파일 하나 만드시고
저같은 경우에는
vi core.sh 하셔서 안에

CHIP_COUNT=`cat /proc/cpuinfo | grep "physical id" | sort -u | wc -l`;
CHIP_CORES=`cat /proc/cpuinfo | grep "siblings" | tail -1 | cut -d: -f2`;
echo "CPU: $CHIP_COUNT chips x $CHIP_CORES cores"

:wq!
하시면 저장후 빠져 나오는거 아시죠?
그런다음 파일의 권한을 수정해주세요
chmod 755 core.sh
하신다음
./core.sh
하시면

CPU: 1 chips x  4 cores

이런식의 값을 볼수 있습니다.

출처 : http://superkkt.com/389

'Programer > UNIX' 카테고리의 다른 글

too many open files (errno 24)  (0) 2013.06.20
Linux top 사용과 정보 설명  (0) 2012.02.22
HP-UX System의 system date  (0) 2010.03.09
xManager를 대신할....  (0) 2010.01.11
JDK 설치 AIX O/S  (0) 2010.01.08