Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to gather info on : cpu/memory/disk and any I/O adapters

Status
Not open for further replies.

AIXdream

Technical User
Mar 27, 2007
33
US
need to gather this information

1- cpu

2- memory

3- disk

4- any I/O adapters

on solaris 5.8. Appreciate your help in advance.

Thanks
Dream
 
There are a number of monitoring tools and products, some cost and some are free (check out For a system without any of these, have a look at the following commands:
vmstat
iostat
swap -s
df -k
netstat

which should get you started. Please feel free to post further questions.


I hope that helps.

Mike
 
CPU - psrinfo -v
Memory - prtdiag -v

prtdiag -v will show you most attached devices, but the best tool available for concise memory output is memconf.

disk - format

I/O adapters - you can use prtdiag -v or cfgadm -al

HTH
 
Aixdream;

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



Thank ca
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top