<?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: Number of CPU under HP-UX? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088197#M144209</link>
    <description>ioscan -k |grep -n processor |wc -l&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Pete&lt;BR /&gt; &lt;BR /&gt;</description>
    <pubDate>Wed, 08 Oct 2003 09:35:47 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2003-10-08T09:35:47Z</dc:date>
    <item>
      <title>Number of CPU under HP-UX?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088194#M144206</link>
      <description>How to retrieve the number of CPU(s) under HP-UX with a simple piece of script or under the command line interface:&lt;BR /&gt;I didn't find it with getconf, top -d 1 ,etc..., so if somebody has an easy way to get this info...&lt;BR /&gt;Thanks in advance for your help.&lt;BR /&gt;Romaric.</description>
      <pubDate>Wed, 08 Oct 2003 09:31:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088194#M144206</guid>
      <dc:creator>Romaric Guilloud</dc:creator>
      <dc:date>2003-10-08T09:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Number of CPU under HP-UX?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088195#M144207</link>
      <description>Try this:&lt;BR /&gt; &lt;BR /&gt;# ioscan -kfnC processor | grep processor | wc -l&lt;BR /&gt; &lt;BR /&gt;That should give you the numnber of CPUs on your machine.</description>
      <pubDate>Wed, 08 Oct 2003 09:35:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088195#M144207</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-10-08T09:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Number of CPU under HP-UX?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088196#M144208</link>
      <description>This is what I use:&lt;BR /&gt;sar -Mu 1 1 | awk 'END {print NR-5}' &lt;BR /&gt;&lt;BR /&gt;&lt;I got="" this="" from="" somebody="" else="" on="" here="" but="" forget="" who=""&gt;&lt;BR /&gt;&lt;BR /&gt;Jim&lt;/I&gt;</description>
      <pubDate>Wed, 08 Oct 2003 09:35:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088196#M144208</guid>
      <dc:creator>Jim Mallett</dc:creator>
      <dc:date>2003-10-08T09:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Number of CPU under HP-UX?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088197#M144209</link>
      <description>ioscan -k |grep -n processor |wc -l&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Pete&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 08 Oct 2003 09:35:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088197#M144209</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-10-08T09:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Number of CPU under HP-UX?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088198#M144210</link>
      <description>Thank you guys for the quick answer.&lt;BR /&gt;I liked the sar one!&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Romaric.</description>
      <pubDate>Wed, 08 Oct 2003 09:37:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088198#M144210</guid>
      <dc:creator>Romaric Guilloud</dc:creator>
      <dc:date>2003-10-08T09:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Number of CPU under HP-UX?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088199#M144211</link>
      <description>Script:&lt;BR /&gt;&lt;BR /&gt;CPU=$(ioscan | grep -i processor | wc -l)&lt;BR /&gt; &lt;BR /&gt;echo "CPUS: $CPU"&lt;BR /&gt; &lt;BR /&gt;Solution.&lt;BR /&gt; &lt;BR /&gt;SEP</description>
      <pubDate>Wed, 08 Oct 2003 09:38:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088199#M144211</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-10-08T09:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Number of CPU under HP-UX?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088200#M144212</link>
      <description>#grep processor /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;#ioscan -fnC processor&lt;BR /&gt;&lt;BR /&gt;But when u issue #top &lt;BR /&gt;it will automatically show on the top the CPU list , before the precesses statistics.&lt;BR /&gt;Here is my #top &lt;BR /&gt;                   Wed Oct  8 20:09:29 2003&lt;BR /&gt;Load averages: 0.02, 0.01, 0.01&lt;BR /&gt;93 processes: 84 sleeping, 9 running&lt;BR /&gt;Cpu states:&lt;BR /&gt;CPU    LOAD   USER   NICE    SYS   IDLE     BLOCK   SWAIT    INTR    SSYS&lt;BR /&gt; 0     0.04   0.0%   0.0%   0.0% 100.0%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 1     0.00   0.0%   0.0%   0.4%  99.6%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt;---    ----  -2.2%   0.0%   0.0%  97.8-&lt;BR /&gt;avg    0.02   0.0%   0.0%   0.0% 100.0%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt;             1.2%   0.0%   0.2%  98.6&lt;BR /&gt;&lt;BR /&gt;Can you see under CPU coloumn the 0,1 i.e with a 2 CPU output of TOP.</description>
      <pubDate>Wed, 08 Oct 2003 09:39:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088200#M144212</guid>
      <dc:creator>Hari Kumar</dc:creator>
      <dc:date>2003-10-08T09:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Number of CPU under HP-UX?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088201#M144213</link>
      <description>try this:&lt;BR /&gt; &lt;BR /&gt;ioscan -fk |grep -c processor&lt;BR /&gt; &lt;BR /&gt;this should output the number of cpus.</description>
      <pubDate>Wed, 08 Oct 2003 09:40:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088201#M144213</guid>
      <dc:creator>Joshua Scott</dc:creator>
      <dc:date>2003-10-08T09:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Number of CPU under HP-UX?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088202#M144214</link>
      <description>The "sar" and the "ioscan" options give different answers on my system - 4 and 6 respectively.&lt;BR /&gt;"glance" shows 4 "Active CPUs:"&lt;BR /&gt;"top" thinks so too. &lt;BR /&gt;What are the other 2 doing ?&lt;BR /&gt;-- Graham&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Oct 2003 10:13:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088202#M144214</guid>
      <dc:creator>Graham Cameron_1</dc:creator>
      <dc:date>2003-10-08T10:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Number of CPU under HP-UX?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088203#M144215</link>
      <description>Graham,&lt;BR /&gt; &lt;BR /&gt;which ioscan command are you using?&lt;BR /&gt; &lt;BR /&gt;-Josh</description>
      <pubDate>Wed, 08 Oct 2003 10:17:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088203#M144215</guid>
      <dc:creator>Joshua Scott</dc:creator>
      <dc:date>2003-10-08T10:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Number of CPU under HP-UX?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088204#M144216</link>
      <description>/usr/sbin/ioscan -kfnC processor&lt;BR /&gt;Class       I  H/W Path  Driver    S/W State H/W Type  Description&lt;BR /&gt;===================================================================&lt;BR /&gt;processor   0  33        processor CLAIMED   PROCESSOR Processor&lt;BR /&gt;processor   1  37        processor CLAIMED   PROCESSOR Processor&lt;BR /&gt;processor   2  97        processor CLAIMED   PROCESSOR Processor&lt;BR /&gt;processor   3  101       processor CLAIMED   PROCESSOR Processor&lt;BR /&gt;processor   4  105       processor CLAIMED   PROCESSOR Processor&lt;BR /&gt;processor   5  109       processor CLAIMED   PROCESSOR Processor&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Oct 2003 10:25:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088204#M144216</guid>
      <dc:creator>Graham Cameron_1</dc:creator>
      <dc:date>2003-10-08T10:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Number of CPU under HP-UX?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088205#M144217</link>
      <description>Graham,&lt;BR /&gt;What system are you running?</description>
      <pubDate>Wed, 08 Oct 2003 10:26:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088205#M144217</guid>
      <dc:creator>Joshua Scott</dc:creator>
      <dc:date>2003-10-08T10:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Number of CPU under HP-UX?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088206#M144218</link>
      <description>Romaric,&lt;BR /&gt;&lt;BR /&gt;I am not quite sure, but your additional 2 CPUs in ioscan could be iCOD CPUs, which are there but deconfigured, i.e. inactive.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bernhard</description>
      <pubDate>Wed, 08 Oct 2003 10:27:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088206#M144218</guid>
      <dc:creator>Bernhard Mueller</dc:creator>
      <dc:date>2003-10-08T10:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Number of CPU under HP-UX?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088207#M144219</link>
      <description>Sorry, I meant Graham...</description>
      <pubDate>Wed, 08 Oct 2003 10:30:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088207#M144219</guid>
      <dc:creator>Bernhard Mueller</dc:creator>
      <dc:date>2003-10-08T10:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Number of CPU under HP-UX?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088208#M144220</link>
      <description>Joshua, Bernard (if you are still following):&lt;BR /&gt;--&lt;BR /&gt; sar -Mu 1 1&lt;BR /&gt;&lt;BR /&gt;HP-UX sedling B.11.11 U 9000/800    10/09/03&lt;BR /&gt;&lt;BR /&gt;08:03:23     cpu    %usr    %sys    %wio   %idle&lt;BR /&gt;08:03:24       0       0       0       0      99&lt;BR /&gt;               1       0       0      11      88&lt;BR /&gt;               2       1       2       0      96&lt;BR /&gt;               3       3       0       0      96&lt;BR /&gt;          system       1       1       3      95</description>
      <pubDate>Thu, 09 Oct 2003 02:05:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088208#M144220</guid>
      <dc:creator>Graham Cameron_1</dc:creator>
      <dc:date>2003-10-09T02:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Number of CPU under HP-UX?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088209#M144221</link>
      <description>Easier ways would be&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#echo "processor_count/D" | adb -k /stand/vmunix /dev/mem&lt;BR /&gt;&lt;BR /&gt;#cat /var/adm/syslog/syslog.log|grep processor|wc -l&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Oct 2003 02:12:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/number-of-cpu-under-hp-ux/m-p/3088209#M144221</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-10-09T02:12:29Z</dc:date>
    </item>
  </channel>
</rss>

