<?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: Hardware Information in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information/m-p/4007188#M750495</link>
    <description>Processor type:&lt;BR /&gt;$ [ "$(uname -m)" = "ia64" ] &amp;amp;&amp;amp; echo Itantium || echo PA-RISC&lt;BR /&gt;&lt;BR /&gt;Number of processors:&lt;BR /&gt;$ ioscan -FkC processor | wc -l&lt;BR /&gt;&lt;BR /&gt;Number of network interfaces:&lt;BR /&gt;$ ioscan -FkC lan | wc -l</description>
    <pubDate>Fri, 25 May 2007 09:32:23 GMT</pubDate>
    <dc:creator>spex</dc:creator>
    <dc:date>2007-05-25T09:32:23Z</dc:date>
    <item>
      <title>Hardware Information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information/m-p/4007185#M750492</link>
      <description>What Commands to get the following&lt;BR /&gt;&lt;BR /&gt;Processor type and speed, no. of processors, no of NICs</description>
      <pubDate>Fri, 25 May 2007 05:55:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information/m-p/4007185#M750492</guid>
      <dc:creator>Nicky Power</dc:creator>
      <dc:date>2007-05-25T05:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware Information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information/m-p/4007186#M750493</link>
      <description>This question gets asked so frequently that I saved the full answer in a text file:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&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;Finally, 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;&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;&lt;BR /&gt;And, even more finally, you can obtain CPU speed and RAM without CSTM or root ac&lt;BR /&gt;cess as described by Tom 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;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 May 2007 07:11:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information/m-p/4007186#M750493</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-05-25T07:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware Information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information/m-p/4007187#M750494</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You will get all the details from STM and&lt;BR /&gt;also ioscan  be used</description>
      <pubDate>Fri, 25 May 2007 08:13:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information/m-p/4007187#M750494</guid>
      <dc:creator>mavrick</dc:creator>
      <dc:date>2007-05-25T08:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware Information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information/m-p/4007188#M750495</link>
      <description>Processor type:&lt;BR /&gt;$ [ "$(uname -m)" = "ia64" ] &amp;amp;&amp;amp; echo Itantium || echo PA-RISC&lt;BR /&gt;&lt;BR /&gt;Number of processors:&lt;BR /&gt;$ ioscan -FkC processor | wc -l&lt;BR /&gt;&lt;BR /&gt;Number of network interfaces:&lt;BR /&gt;$ ioscan -FkC lan | wc -l</description>
      <pubDate>Fri, 25 May 2007 09:32:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information/m-p/4007188#M750495</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2007-05-25T09:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware Information</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information/m-p/4007189#M750496</link>
      <description>Speed of the CPU in MHz:-&lt;BR /&gt;echo "itick_per_usec/D"|adb /stand/vmunix /dev/mem|tail -1 \&lt;BR /&gt;|awk '{print $2}'&lt;BR /&gt;&lt;BR /&gt;Processor count :-&lt;BR /&gt;echo processor_count/D | adb /stand/vmunix /dev/mem | tail -1 \&lt;BR /&gt;| awk '{print $2}'&lt;BR /&gt;&lt;BR /&gt;Type of processor can be understood by&lt;BR /&gt;file :- file /stand/vmunix&lt;BR /&gt;&lt;BR /&gt;No. of lan card can be found by:-&lt;BR /&gt;lanscan|grep -v -e ^Hardware -e ^Path |awk '{print $3}'|wc -l&lt;BR /&gt;&lt;BR /&gt;expect your point please&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 May 2007 16:27:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information/m-p/4007189#M750496</guid>
      <dc:creator>Redhat</dc:creator>
      <dc:date>2007-05-25T16:27:04Z</dc:date>
    </item>
  </channel>
</rss>

