information about processor number, type and speed:HP9000, Solaris, Fujitsu, AIX

To get processor type number : echo $(prtconf -pvPD | egrep -e "device_type.*cpu|name" |sed -n "/device_type/{n;p;}" | wk -F\' '{ print $2 }' |sed -e "s/SUNW,//" | head -1)

Processor type : echo $$(prtconf -pvPD | egrep -e "device_type.*cpu|compatible" |sed -n "/device_type/{n;p;}" | awk -F\' '{ print $2 }' |sed -e "s/SUNW,//" | head -1)

Processor Speed : echo $$(/usr/sbin/psrinfo -v| grep operate | sed - "s/.*at //;s/,//" |head -1)

No comments :

Post a Comment