Friday, 19 September 2014

OSA: [Grp C-1] CPU MANUFACTURER INFO

while(true)
do
echo "CPU INFORMATION
      1.CPU CORES AND THREADS
      2.CPU MANUFACTURER
      3.EXIT"
read a;
case $a in
1)echo "CPU INFORMATION.."
dmidecode -t processor
;;
2)echo "CPU MANUFACTURER.."
dmidecode -s processor-manufacturer   
;;







3)echo "stopped...."
  exit 0
;;
esac;
done

No comments:

Post a Comment