Thursday, July 27, 2017

▷ Cpu speed (CPU 속도)

[ To find cpu speed ]


AIX prtconf -s | awk '{ print $(NF-1) }'
HP-UX (pa-risc) /opt/ignite/bin/print_manifest or ioscan -fknC processor
(ia64) machinfo | grep 'GHz' | sed -e 's/GHz/@/' | awk -F@ '{ print $1 }' | tr -d '()' | awk '{ printf("%.0f\n", $NF*1024) }'
SunOS kstat -m cpu_info | grep clock_MHz | head -1 | awk '{ printf("%.0f\n", $2) }'
Linux cat /proc/cpuinfo  | awk '/MHz/ { printf("%.0f\n", $NF) }' | uniq
or
lscpu  | awk '/CPU MHz/ { printf("%.0f\n", $NF) }'
Windows ([Math]::round((wmic cpu get MaxClockSpeed | findstr /v "^$" | select -Last 1)/1024))

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