Author: sebor Date: Tue Apr 22 11:13:26 2008 New Revision: 650603 URL: http://svn.apache.org/viewvc?rev=650603&view=rev Log: 2008-04-22 Martin Sebor * bin/buildntest [AIX]: Added more information about the system, including model name, number of processors, their type and speed, and the type of the kernel. Modified: stdcxx/trunk/bin/buildntest Modified: stdcxx/trunk/bin/buildntest URL: http://svn.apache.org/viewvc/stdcxx/trunk/bin/buildntest?rev=650603&r1=650602&r2=650603&view=diff ============================================================================== --- stdcxx/trunk/bin/buildntest (original) +++ stdcxx/trunk/bin/buildntest Tue Apr 22 11:13:26 2008 @@ -476,9 +476,35 @@ AWK=awk case "$osname" in (AIX) + # output the machine model name + echo; echo "### Model name:" + /usr/bin/uname -M + + # output the number of processors installed on the system + echo; echo "### Number of processors:" + /usr/sbin/lscfg -lproc\* | /usr/bin/wc -l + + # output the type of the processors + echo; echo "### Processor type:" + /usr/sbin/lscfg -lproc0 -p | /usr/bin/sed -n "s/ *Name: *\(.*\)/\1/p" + + # output processor clock speed + echo; echo "### Processor clock speed:" + /usr/sbin/lsconf -s | /usr/bin/cut -d' ' -f4- + + # output the kernel type (32-bit- uni or muli-processor, or + # 64-bit multiprocessor) + echo; echo "### /usr/sbin/lsconf -k" + /usr/sbin/lsconf -k + # output the amount of real memory installed on the host - echo; echo "### /usr/sbin/lsattr -El sys0 -a realmem:" - /usr/sbin/lsattr -El sys0 -a realmem + echo; echo "### Physical memory:" + + # one way of doing it: + # /usr/sbin/lsattr -El sys0 -a realmem | /usr/bin/cut -d' ' -f2 + + # or the easy way: + /usr/sbin/lsconf -m | /usr/bin/cut -d' ' -f3- ;; (HP-UX)