<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to collect system info in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076322#M308337</link>
    <description>Try with cfg2html:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.cfg2html.com/" target="_blank"&gt;http://www.cfg2html.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards;&lt;BR /&gt;&lt;BR /&gt;J. Bravo.</description>
    <pubDate>Wed, 26 Sep 2007 05:13:46 GMT</pubDate>
    <dc:creator>J. Bravo</dc:creator>
    <dc:date>2007-09-26T05:13:46Z</dc:date>
    <item>
      <title>how to collect system info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076317#M308332</link>
      <description>I know "machinfo" can collect cpu info, memory info,host info and so on. But machinfo only in 11.23. Does anyone knows how to collect cpu info (how many cpus, cpu clock), memory size and so on on 11.11, 11.00 . Thanks in advanced.</description>
      <pubDate>Wed, 26 Sep 2007 04:42:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076317#M308332</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2007-09-26T04:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to collect system info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076318#M308333</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Use STM to gather this information. Select memory, tab to tools, select information, select run. The same for CPU.&lt;BR /&gt;&lt;BR /&gt;Hope that helps,&lt;BR /&gt;&lt;BR /&gt;Mike.&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Sep 2007 04:53:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076318#M308333</guid>
      <dc:creator>Mike Shilladay</dc:creator>
      <dc:date>2007-09-26T04:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to collect system info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076319#M308334</link>
      <description>&lt;!--!*#--&gt;If you have Ignite installed, you can use the print_manifest command.&lt;BR /&gt;&lt;BR /&gt;You can also use SAM to display system properties (Sam -&amp;gt; Performance&lt;BR /&gt;Monitors -&amp;gt; System Properties).&lt;BR /&gt;&lt;BR /&gt;There are also utilities like "cfg2html" ( &lt;A href="http://come.to/cfg2html" target="_blank"&gt;http://come.to/cfg2html&lt;/A&gt; ),&lt;BR /&gt;"nickel" ( &lt;A href="ftp://ftp.hp.com/pub/catia/Utils/nickel.shar" target="_blank"&gt;ftp://ftp.hp.com/pub/catia/Utils/nickel.shar&lt;/A&gt; ) and "sysinfo"&lt;BR /&gt;( &lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/&lt;/A&gt; ).&lt;BR /&gt;&lt;BR /&gt;You can also obtain this information from the command line with a&lt;BR /&gt;series of little scripts like these:&lt;BR /&gt;&lt;BR /&gt;CPU&lt;BR /&gt;&lt;BR /&gt;HPUX=/stand/vmunix&lt;BR /&gt;&lt;BR /&gt;MODEL=$(grep -i $(model | tr "/" " " \&lt;BR /&gt;        | awk '{print $NF}') \&lt;BR /&gt;        /usr/sam/lib/mo/sched.models \&lt;BR /&gt;        | awk '{print $NF}')&lt;BR /&gt;&lt;BR /&gt;                                      #Note: for 11.23 RISC, use&lt;BR /&gt;MHZ=$(echo itick_per_tick/D \         # echo "itick_per_usec/d" \&lt;BR /&gt;        | adb -k $HPUX /dev/kmem \    # | adb $HPUX /dev/kmem&lt;BR /&gt;        | tail -1 \                   #For Itanium, use machinfo&lt;BR /&gt;        | awk '{print $2/10000}')&lt;BR /&gt;echo `hostname` has `ioscan -k |grep -n processor \&lt;BR /&gt;        |wc -l` $MODEL $MHZ  "Mhz processor(s)"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Number of CPUs&lt;BR /&gt;&lt;BR /&gt;ioscan -k |grep -n processor |wc -l&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Support Tools Manager (STM) CPU info:&lt;BR /&gt;&lt;BR /&gt;echo "selclass qualifier cpu;info;wait;infolog" | cstm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;RAM&lt;BR /&gt;&lt;BR /&gt;HPUX=/stand/vmunix&lt;BR /&gt;MAJORREV=$(uname -r | cut -f2 -d .)&lt;BR /&gt;if [ $MAJORREV -ge "11.0" ]&lt;BR /&gt; then&lt;BR /&gt;  MYSYMBOL="phys_mem_pages"&lt;BR /&gt;else&lt;BR /&gt;  MYSYMBOL="physmem"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;MYMEM=$(echo "${MYSYMBOL}/D" \&lt;BR /&gt; | adb $HPUX /dev/kmem \&lt;BR /&gt; | grep "${MYSYMBOL}: *." \&lt;BR /&gt; | awk '{printf "%.0f MB\n",$2/256}')&lt;BR /&gt;echo $MYMEM&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Support Tools Manager (STM) RAM info:&lt;BR /&gt;&lt;BR /&gt;echo "selclass qualifier memory;info;wait;infolog" | cstm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can obtain CPU speed and RAM without CSTM or root access as described by Tom&lt;BR /&gt; Ferony (under Nancy Rippey's login) here:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=851889" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=851889&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Sep 2007 04:58:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076319#M308334</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-09-26T04:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to collect system info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076320#M308335</link>
      <description>I want to write a script to gather the cpu clock rate, how many cpu, momory size and so on. So, if any command or script sample for me reference in hpux 11.11 , 11.0 ? Thanks.</description>
      <pubDate>Wed, 26 Sep 2007 05:00:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076320#M308335</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2007-09-26T05:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to collect system info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076321#M308336</link>
      <description>SAM -&amp;gt; Performance Monitors -&amp;gt; System Properties. Firts tab is processor(s).&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Wed, 26 Sep 2007 05:01:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076321#M308336</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2007-09-26T05:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to collect system info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076322#M308337</link>
      <description>Try with cfg2html:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.cfg2html.com/" target="_blank"&gt;http://www.cfg2html.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards;&lt;BR /&gt;&lt;BR /&gt;J. Bravo.</description>
      <pubDate>Wed, 26 Sep 2007 05:13:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076322#M308337</guid>
      <dc:creator>J. Bravo</dc:creator>
      <dc:date>2007-09-26T05:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to collect system info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076323#M308338</link>
      <description>J,&lt;BR /&gt;&lt;BR /&gt;Merijn has got a perl script.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://mirrors.develooper.com/hpux/ux" target="_blank"&gt;http://mirrors.develooper.com/hpux/ux&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://mirrors.develooper.com/hpux/faq.html" target="_blank"&gt;http://mirrors.develooper.com/hpux/faq.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 26 Sep 2007 05:14:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076323#M308338</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-09-26T05:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to collect system info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076324#M308339</link>
      <description>u can use nickel script&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=586953&amp;amp;admit=-682735245+1190801684199+28353475" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=586953&amp;amp;admit=-682735245+1190801684199+28353475&lt;/A&gt;</description>
      <pubDate>Wed, 26 Sep 2007 05:17:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076324#M308339</guid>
      <dc:creator>AwadheshPandey</dc:creator>
      <dc:date>2007-09-26T05:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to collect system info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076325#M308340</link>
      <description>Hi,&lt;BR /&gt;For basic HW info you can use command "machinfo"&lt;BR /&gt;&lt;BR /&gt;#machinfo&lt;BR /&gt;CPU info:&lt;BR /&gt;   Number of CPUs = 4&lt;BR /&gt;   Clock speed = 1600 MHz&lt;BR /&gt;   Bus speed   = 400 MT/s&lt;BR /&gt;   CPUID registers&lt;BR /&gt;      vendor information =       "GenuineIntel"&lt;BR /&gt;      processor serial number =  0x0000000000000000&lt;BR /&gt;      processor version info =   0x0000000020000704&lt;BR /&gt;         architecture revision:       0&lt;BR /&gt;         processor family:           32   Intel(R) Itanium 2 9000 series&lt;BR /&gt;         processor model:             0   Intel(R) Itanium 2 9000 series&lt;BR /&gt;         processor revision:          7   Stepping C2&lt;BR /&gt;         largest CPUID reg:           4&lt;BR /&gt;      processor capabilities =   0x0000000000000005&lt;BR /&gt;                      implements long branch:  1&lt;BR /&gt;        implements 16-byte atomic operations:  1&lt;BR /&gt;   Bus features&lt;BR /&gt;      implemented =  0xbdf0000020000000&lt;BR /&gt;      selected    =  0x0000000000000000&lt;BR /&gt;&lt;BR /&gt;Cache info (per core):&lt;BR /&gt;   L1 Instruction: size =   16 KB, associativity = 4&lt;BR /&gt;   L1 Data:        size =   16 KB, associativity = 4&lt;BR /&gt;   L2 Instruction: size = 1024 KB, associativity = 8&lt;BR /&gt;   L2 Data:        size =  256 KB, associativity = 8&lt;BR /&gt;   L3 Unified:     size = 9216 KB, associativity = 9&lt;BR /&gt;&lt;BR /&gt;Memory = 4076 MB (3.980469 GB)&lt;BR /&gt;&lt;BR /&gt;Firmware info:&lt;BR /&gt;   Firmware revision = 04.10&lt;BR /&gt;   FP SWA driver revision: 1.18&lt;BR /&gt;   IPMI is supported on this system.&lt;BR /&gt;   BMC version: 4.1&lt;BR /&gt;&lt;BR /&gt;Platform info:&lt;BR /&gt;   model string =          "ia64 hp server rx2620"&lt;BR /&gt;   machine id number =     6837e39d-36ba-11d9-ba80-29284829550a&lt;BR /&gt;   machine serial number = DE44100174&lt;BR /&gt;&lt;BR /&gt;OS info:&lt;BR /&gt;   sysname  = HP-UX&lt;BR /&gt;   nodename = mediku2&lt;BR /&gt;   release  = B.11.23&lt;BR /&gt;   version  = U (unlimited-user license)&lt;BR /&gt;   machine  = ia64&lt;BR /&gt;   idnumber = 1748493213&lt;BR /&gt;   vmunix _release_version:&lt;BR /&gt;@(#) $Revision: vmunix:    B11.23_LR FLAVOR=perf Fri Aug 29 22:35:38 PDT 2003 $</description>
      <pubDate>Wed, 26 Sep 2007 07:47:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076325#M308340</guid>
      <dc:creator>Delcho Tuhchiev</dc:creator>
      <dc:date>2007-09-26T07:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to collect system info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076326#M308341</link>
      <description>Sorry my mistace :( I've did not read carefully the question.&lt;BR /&gt;I think in your case is better to use "cfg2html" tool as it was mentioned above.</description>
      <pubDate>Wed, 26 Sep 2007 08:35:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076326#M308341</guid>
      <dc:creator>Delcho Tuhchiev</dc:creator>
      <dc:date>2007-09-26T08:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to collect system info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076327#M308342</link>
      <description>Attached is a c program (just compile it with the native HP-UX compiler) called memdetail to get info on memory - and this script below called HPMEM:&lt;BR /&gt;&lt;BR /&gt;# cat /usr/local/bin/hpmem&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;#&lt;BR /&gt;# Taken from the HP/UniGraphics FAQ&lt;BR /&gt;# You must be ROOT to execute this since it uses adb to&lt;BR /&gt;# examine the running kernel&lt;BR /&gt;#&lt;BR /&gt;GetKernelSymbol()&lt;BR /&gt;{&lt;BR /&gt;echo "$1/D" | \&lt;BR /&gt;adb $hpux /dev/kmem | \&lt;BR /&gt;tr "\012" " " | \&lt;BR /&gt;awk -F: '{print $3}'|\&lt;BR /&gt;read kval&lt;BR /&gt;}&lt;BR /&gt;hpux=/hp-ux&lt;BR /&gt;rev=$(uname -r | cut -d. -f2)&lt;BR /&gt;if ((rev &amp;gt; 9)); then hpux=/stand/vmunix ;fi&lt;BR /&gt;/bin/uname -a&lt;BR /&gt;# if 11iv2 or higher - get cpu this way&lt;BR /&gt;ver=$(uname -r | cut -d. -f3)&lt;BR /&gt;if ((ver &amp;gt; 22)); then&lt;BR /&gt;  kval=`echo "processor_count/D" | adb /stand/vmunix /dev/kmem |tail -1|awk -F: '{print $2}'  `&lt;BR /&gt;else&lt;BR /&gt;  GetKernelSymbol "processor_count"&lt;BR /&gt;fi&lt;BR /&gt;print CPU Count: $kval&lt;BR /&gt;GetKernelSymbol "itick_per_tick"&lt;BR /&gt;let speed=kval/10000&lt;BR /&gt;print CPU Speed: $speed MHz&lt;BR /&gt;if ((rev &amp;gt; 10)); then&lt;BR /&gt;  print CPU HW Support: `getconf HW_CPU_SUPP_BITS`-bit&lt;BR /&gt;  print Kernel Support: `getconf KERNEL_BITS`-bit&lt;BR /&gt;  GetKernelSymbol "memory_installed_in_machine"&lt;BR /&gt;else&lt;BR /&gt;  GetKernelSymbol "physmem"&lt;BR /&gt;fi&lt;BR /&gt;# if 11iv2 or higher - get memory this way&lt;BR /&gt;ver=$(uname -r | cut -d. -f3)&lt;BR /&gt;if ((ver &amp;gt; 22)); then&lt;BR /&gt;  kernel=$(/usr/sbin/kcpath -x)&lt;BR /&gt;  hexval=$(echo "phys_mem_pages/A" | adb  $kernel /dev/kmem|tail +2|awk '{print $2}')&lt;BR /&gt;  REAL_MEM=$(echo ${hexval}=D|adb)&lt;BR /&gt;  mb=$(expr ${REAL_MEM} / 256)&lt;BR /&gt;else&lt;BR /&gt;  let mb=kval*4/1024 # convert pages to MB&lt;BR /&gt;fi&lt;BR /&gt;print RAM Size: $mb MB&lt;BR /&gt;GetKernelSymbol "bufpages"&lt;BR /&gt;let mb=kval*4/1024 # convert pages to MB&lt;BR /&gt;print bufpages: $mb MB&lt;BR /&gt;GetKernelSymbol "maxuprc"&lt;BR /&gt;print maxuprc: $kval&lt;BR /&gt;GetKernelSymbol "maxvgs"&lt;BR /&gt;print maxvgs: $kval&lt;BR /&gt;GetKernelSymbol "maxfiles"&lt;BR /&gt;print maxfiles: $kval&lt;BR /&gt;GetKernelSymbol "max_thread_proc"&lt;BR /&gt;print max_thread_proc: $kval&lt;BR /&gt;GetKernelSymbol "nfile"&lt;BR /&gt;print nfile: $kval&lt;BR /&gt;GetKernelSymbol "nproc"&lt;BR /&gt;print nproc: $kval&lt;BR /&gt;GetKernelSymbol "ninode"&lt;BR /&gt;print ninode: $kval&lt;BR /&gt;GetKernelSymbol "vfd_cw"&lt;BR /&gt;print shmmax: $kval&lt;BR /&gt;GetKernelSymbol "shmmni"&lt;BR /&gt;print shmmni: $kval&lt;BR /&gt;GetKernelSymbol "dbc_max_pct"&lt;BR /&gt;print dbc_max_pct: $kval&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 26 Sep 2007 09:22:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076327#M308342</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-09-26T09:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to collect system info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076328#M308343</link>
      <description>Free downloadable tool cfg2html can collect lots of system info for you and will create a html-file. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Sep 2007 02:01:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076328#M308343</guid>
      <dc:creator>SGUX</dc:creator>
      <dc:date>2007-09-27T02:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to collect system info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076329#M308344</link>
      <description>run nickel.sh script will give you entire output of your systme.&lt;BR /&gt;&lt;BR /&gt;dip</description>
      <pubDate>Thu, 27 Sep 2007 02:58:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-collect-system-info/m-p/4076329#M308344</guid>
      <dc:creator>dipesh_2</dc:creator>
      <dc:date>2007-09-27T02:58:11Z</dc:date>
    </item>
  </channel>
</rss>

