<?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 command produced for this output? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-command-produced-for-this-output/m-p/3258145#M176552</link>
    <description>Jenny,&lt;BR /&gt;&lt;BR /&gt;Much of this information can be obtained from the command line.  I use a series of little scripts like this:&lt;BR /&gt;&lt;BR /&gt;echo `hostname` "is a " `model |sed 's/9000\/800\///' |sed 's/9000\/899\///'` "w&lt;BR /&gt;ith" `ioscan -k |grep -n processor |wc -l` `cpuspeed` "Mhz processors and" `memory` "KB of memory"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The cpuspeed script looks like this:&lt;BR /&gt;&lt;BR /&gt;HPUX=/stand/vmunix&lt;BR /&gt;&lt;BR /&gt;MHZ=$(echo itick_per_tick/D \&lt;BR /&gt;        | adb -k $HPUX /dev/kmem \&lt;BR /&gt;        | tail -1 \&lt;BR /&gt;        | awk '{print $2/10000}')&lt;BR /&gt;echo $MHZ&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And the memory script looks like this:&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;The output looks like this:&lt;BR /&gt;&lt;BR /&gt;yukon is a  N4000-44 with 6 440 Mhz processors and 8192 MB KB of memory&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The other information can also be gleaned from the command line and added with just a little effort!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 26 Apr 2004 13:08:39 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2004-04-26T13:08:39Z</dc:date>
    <item>
      <title>How command produced for this output?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-command-produced-for-this-output/m-p/3258140#M176547</link>
      <description>Hi, I've seen a documentation which showed the following output.  It's better than 'model' and shorter than 'print_manifest'.  Anybody knows how this info is obtained?&lt;BR /&gt;&lt;BR /&gt;Processors:                                            &lt;BR /&gt;Active:                2        &lt;BR /&gt;Total:                 2                        &lt;BR /&gt;CPU Version:             PA 8600 CPU Module 3.1     &lt;BR /&gt;Clock Frequency:         550 MHz          &lt;BR /&gt;Machine Identification:  584265658&lt;BR /&gt;Hardware Model:          9000/800/A500-5X                &lt;BR /&gt;Kernel Width Support:    64         &lt;BR /&gt;Physical Memory: 1024 MB&lt;BR /&gt;OS: B.11.11 U</description>
      <pubDate>Fri, 23 Apr 2004 18:23:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-command-produced-for-this-output/m-p/3258140#M176547</guid>
      <dc:creator>Jenny C</dc:creator>
      <dc:date>2004-04-23T18:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: How command produced for this output?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-command-produced-for-this-output/m-p/3258141#M176548</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;this is taken from SAM.&lt;BR /&gt;&lt;BR /&gt;# sam&lt;BR /&gt; Performance Monitors -&amp;gt; System Properties -&amp;gt; there you have it.&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Fri, 23 Apr 2004 20:30:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-command-produced-for-this-output/m-p/3258141#M176548</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2004-04-23T20:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: How command produced for this output?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-command-produced-for-this-output/m-p/3258142#M176549</link>
      <description>This is output of SAM --&amp;gt; Performance Monitors --&amp;gt; System Properties --&amp;gt; Processor&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Sat, 24 Apr 2004 01:47:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-command-produced-for-this-output/m-p/3258142#M176549</guid>
      <dc:creator>SANTOSH S. MHASKAR</dc:creator>
      <dc:date>2004-04-24T01:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: How command produced for this output?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-command-produced-for-this-output/m-p/3258143#M176550</link>
      <description>To find the exact command, presumably from SAM, use the SAM viewer log. It will tell you exactly what SAM used.</description>
      <pubDate>Sat, 24 Apr 2004 02:23:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-command-produced-for-this-output/m-p/3258143#M176550</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2004-04-24T02:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: How command produced for this output?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-command-produced-for-this-output/m-p/3258144#M176551</link>
      <description>Thanks for the pointers.  I thought it was an output of a command line, which could be redirected to a text file.  If it's from SAM, there doesn't seem to be a way to save the output easily....</description>
      <pubDate>Mon, 26 Apr 2004 12:56:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-command-produced-for-this-output/m-p/3258144#M176551</guid>
      <dc:creator>Jenny C</dc:creator>
      <dc:date>2004-04-26T12:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: How command produced for this output?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-command-produced-for-this-output/m-p/3258145#M176552</link>
      <description>Jenny,&lt;BR /&gt;&lt;BR /&gt;Much of this information can be obtained from the command line.  I use a series of little scripts like this:&lt;BR /&gt;&lt;BR /&gt;echo `hostname` "is a " `model |sed 's/9000\/800\///' |sed 's/9000\/899\///'` "w&lt;BR /&gt;ith" `ioscan -k |grep -n processor |wc -l` `cpuspeed` "Mhz processors and" `memory` "KB of memory"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The cpuspeed script looks like this:&lt;BR /&gt;&lt;BR /&gt;HPUX=/stand/vmunix&lt;BR /&gt;&lt;BR /&gt;MHZ=$(echo itick_per_tick/D \&lt;BR /&gt;        | adb -k $HPUX /dev/kmem \&lt;BR /&gt;        | tail -1 \&lt;BR /&gt;        | awk '{print $2/10000}')&lt;BR /&gt;echo $MHZ&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And the memory script looks like this:&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;The output looks like this:&lt;BR /&gt;&lt;BR /&gt;yukon is a  N4000-44 with 6 440 Mhz processors and 8192 MB KB of memory&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The other information can also be gleaned from the command line and added with just a little effort!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Apr 2004 13:08:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-command-produced-for-this-output/m-p/3258145#M176552</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-04-26T13:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: How command produced for this output?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-command-produced-for-this-output/m-p/3258146#M176553</link>
      <description>There is a sysinfo program that can give you this ifo.  It will also give you some other info. I have attached the shar file here.</description>
      <pubDate>Mon, 26 Apr 2004 13:38:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-command-produced-for-this-output/m-p/3258146#M176553</guid>
      <dc:creator>Amiel Tutolo</dc:creator>
      <dc:date>2004-04-26T13:38:34Z</dc:date>
    </item>
  </channel>
</rss>

