Below if from a little script I put together for gathering system information when we take new customers under contract. As blainepruitt points out memconf is good for older boxes and for some sunfire systems. The prtfru command in my script will give you part#'s for some of the sunfire memory and many other part#'s for cpus, system boards etc. Unfortunately sun has yet to come up with a good way of getting part#'s for all pci cards(it will give you some in prtdiag and search throught the prtconf stuff also. Believe me it is not fun trying to figure out the pci cards. You will need to cross reference stuff to sunsolve.
put the below into a script, make it executable, run it and redirect to a file.
echo "uname -a, gathers system type and kernel patch level"
uname -a
echo "*************************"
echo "hostname, gathers system name"
hostname
echo "*************************"
echo "pkginfo -l VRTSvxvm, gathers Vertias package version"
pkginfo -l VRTSvxvm
echo "*************************"
echo "metastat -p, gather info on Disksuite if they are using it"
metastat -p
echo "*************************"
echo "prtdiag -v, gathers system configuration info"
/usr/platform/`uname -m`/sbin/prtdiag -v
echo "*************************"
echo "iostat -E, gathers drive info"
iostat -E
echo "*************************"
echo "luxadm qlgc_s_download, gathers system fibre card info"
luxadm qlgc_s_download
echo "*************************"
echo "prtconf -vp, gathers system info such as motherbrd part# and others"
prtconf -vp
echo "************************"
echo "prtfru info"
prtfru | grep -i sun_part_n*
echo "*************************"
echo "format command output"
format <<EOF
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.