Here is one of the scripts that I found on the net while searching for something … Note the URL for the script in the Description.
#!/bin/bash -
#===============================================================================
#
# FILE: linux_hw.sh
#
# USAGE: ./linux_hw.sh
#
# DESCRIPTION: http://www.howtogeek.com/howto/solaris/get-the-processor-type-on-solaris/
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Amit Agarwal (aka), amit.agarwal@roamware.com
# COMPANY: Roamware India Pvt Ltd
# CREATED: 09/13/2011 03:57:34 PM IST
# Last modified: Sun Oct 30, 2011 04:59PM
# REVISION: ---
#===============================================================================
function linux_hw_CPU {
typeset num=0
typeset name="
Continue reading