Thursday, July 27, 2017

▷ Cpu type (CPU 유형)

[ To find cpu type ]


AIX prtconf | awk -F: '/Processor Type:/ { print $2 }'
HP-UX (pa-risc) /opt/ignite/bin/print_manifest or ioscan -fknC processor
(ia64) machinfo | sed -e 's/  */ /g' | grep 'Intel(R) Itanium' | tail -1 | awk -F':' \
         '{ if($0 ~ /processor model/)
               $0=$2;
            else
               $0=$0;
          } END { print $0; }' | sed -e 's/Intel(R)//' -e 's/[Pp]rocessor//' -e 's/^  *//' | tr -d ','
SunOS psrinfo -vp | grep -v '^$' | tail -1 | awk '{ if($1 ~ /SPARC/) print $1; else print $2, $4; }'
Linux cat /proc/cpuinfo | grep 'model name' | awk -F: '{ print $2 }' | head -1 | sed -e 's/  */ /g'
or
dmidecode -s processor-version | egrep -v '^#|^$' | head -1 | awk '{ print $2, $4 }'
Windows (wmic cpu get Name | findstr /v "^$" | select -Last 1).Trim()

No comments:

Post a Comment

◈ Recent Post

▷ UITest demo with TestOne (Mobile, Keypad and Drag until found tip)

[ UITest Demo Environment ] 1. UITest Solution: TestOne 2. Description 데모 설명    How to use keypad, and to drag until found.     키패드를...

◈ Popular Posts