<?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: CPU frequency in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783795#M77916</link>
    <description>Ralph, &lt;BR /&gt;&lt;BR /&gt;of course this is an ugly method, but you may try to use the kernel's global "iticks_per_10_msec/D". E.g. 550MHz means 550,000,000 iticks/second. &lt;BR /&gt;&lt;BR /&gt;echo "iticks_per_10_msec/D" | adb /stand/vmunix /dev/kmem&lt;BR /&gt;&lt;BR /&gt;Regards...&lt;BR /&gt; Dietmar.</description>
    <pubDate>Mon, 12 Aug 2002 05:55:01 GMT</pubDate>
    <dc:creator>Dietmar Konermann</dc:creator>
    <dc:date>2002-08-12T05:55:01Z</dc:date>
    <item>
      <title>CPU frequency</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783792#M77913</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;when I issue the following command&lt;BR /&gt;&lt;BR /&gt;echo "uti;sc product CPU;info;wait;il"|cstm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I obtain the dump that I attached to this posting (please have a look at attachment)&lt;BR /&gt;&lt;BR /&gt;Although this is quite a detailed report I still cannot see at what frequency the CPUs operate.&lt;BR /&gt;&lt;BR /&gt;How (where from) can I retrieve this information?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Ralph&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Aug 2002 05:45:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783792#M77913</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2002-08-12T05:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: CPU frequency</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783793#M77914</link>
      <description>Hi,&lt;BR /&gt;To determine the processor speed:&lt;BR /&gt;&lt;BR /&gt;echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem&lt;BR /&gt;itick_per_usec:&lt;BR /&gt;itick_per_usec: 360&lt;BR /&gt;&lt;BR /&gt;Where 360 is the processor speed in the example&lt;BR /&gt;server.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Aug 2002 05:52:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783793#M77914</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-08-12T05:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: CPU frequency</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783794#M77915</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;This will give you in Mhz&lt;BR /&gt;CPU frequency.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#echo "itick_per_usec/D" | adb -k /stand/vmunix /dev/kmem&lt;BR /&gt;&lt;BR /&gt;Also check &lt;BR /&gt;&lt;BR /&gt;SAM---&amp;gt;performance MOnitor--&amp;gt;system properties&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 12 Aug 2002 05:53:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783794#M77915</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-08-12T05:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: CPU frequency</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783795#M77916</link>
      <description>Ralph, &lt;BR /&gt;&lt;BR /&gt;of course this is an ugly method, but you may try to use the kernel's global "iticks_per_10_msec/D". E.g. 550MHz means 550,000,000 iticks/second. &lt;BR /&gt;&lt;BR /&gt;echo "iticks_per_10_msec/D" | adb /stand/vmunix /dev/kmem&lt;BR /&gt;&lt;BR /&gt;Regards...&lt;BR /&gt; Dietmar.</description>
      <pubDate>Mon, 12 Aug 2002 05:55:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783795#M77916</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2002-08-12T05:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: CPU frequency</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783796#M77917</link>
      <description>Hi Ralph&lt;BR /&gt;&lt;BR /&gt;Further info:-&lt;BR /&gt;&lt;BR /&gt;1. 'getconf KERNEL_BITS' will return whether you are running 32- or 64-bit. &lt;BR /&gt;&lt;BR /&gt;2. 'getconf HW_32_64_CAPABLE' will show whether your processor is 64-bit capable or not. &lt;BR /&gt;&lt;BR /&gt;3. To find the processor speed (MHz): &lt;BR /&gt;echo itick_per_usec/D | adb -k stand/vmunix /dev/mem &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Mon, 12 Aug 2002 06:03:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783796#M77917</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-08-12T06:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: CPU frequency</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783797#M77918</link>
      <description>using CSTM you can do this&lt;BR /&gt;&lt;BR /&gt;echo "selclass qualifier cpu;info;wait;infolog" | /usr/sbin/cstm &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 12 Aug 2002 06:13:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783797#M77918</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-08-12T06:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: CPU frequency</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783798#M77919</link>
      <description>This looks strange to me that you have to query the symbol table of the kernel binary in a debugger.&lt;BR /&gt;Does this still work when the kernel was compiled without a symbol table (viz. no debugging support).&lt;BR /&gt;However, using this oblique HP-UX method, would you mind telling me how to obtain a full (or more thorough) list of symbols (i.e. all the data I could query this way).&lt;BR /&gt;I've never used the adb before (because I've done no system programming in C on HP-UX so far).&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Aug 2002 06:39:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783798#M77919</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2002-08-12T06:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: CPU frequency</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783799#M77920</link>
      <description>Hi Ralpe&lt;BR /&gt;&lt;BR /&gt;ADB info :-&lt;BR /&gt;&lt;BR /&gt;Paula&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Aug 2002 06:45:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783799#M77920</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-08-12T06:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: CPU frequency</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783800#M77921</link>
      <description>check this document&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000058669230" target="_blank"&gt;http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000058669230&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 12 Aug 2002 06:48:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783800#M77921</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-08-12T06:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: CPU frequency</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783801#M77922</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;Try this one to give you required info in Mhz.&lt;BR /&gt;&lt;BR /&gt;HZ=`echo itick_per_tick/D | adb -k /stand/vmunix /dev/kmem|tail -1|cut -f2` &lt;BR /&gt;(MHZ=$HZ/10000)) &lt;BR /&gt;echo $MHZ &lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Mon, 12 Aug 2002 07:07:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783801#M77922</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2002-08-12T07:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: CPU frequency</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783802#M77923</link>
      <description>Paula,&lt;BR /&gt;&lt;BR /&gt;many thanks for the adb tutorial,&lt;BR /&gt;although I fear I won't find time to carefully peruse it,&lt;BR /&gt;but it sure will give me some answers.&lt;BR /&gt;&lt;BR /&gt;T.G.,&lt;BR /&gt;&lt;BR /&gt;thanks for providing the useful link.&lt;BR /&gt;I wonder how one could collectively query several symbols at one go without the need to repaetedly start a new adb instance.</description>
      <pubDate>Mon, 12 Aug 2002 07:23:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783802#M77923</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2002-08-12T07:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: CPU frequency</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783803#M77924</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Writing  a small c-program using calls&lt;BR /&gt;to sysconf()  you will be able to get&lt;BR /&gt;this kind of info.&lt;BR /&gt;&lt;BR /&gt;Here is a sample  getting the cpu-speed&lt;BR /&gt;from the machine.&lt;BR /&gt;&lt;BR /&gt;See man sysconf  for more info.&lt;BR /&gt;One advantage with this method is that you&lt;BR /&gt;do not have to be logged in as user root.&lt;BR /&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;#include &lt;UNISTD.H&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/* compile on  hp-ux 10.20:                          */&lt;BR /&gt;/*   cc -D_HPUX_SOURCE -o cpu_speed.exe cpu_speed.c  */&lt;BR /&gt;/* Compile on hp-ux 11.xx                            */&lt;BR /&gt;/*   cc -o cpu_speed.exe cpu_speed.c                 */&lt;BR /&gt;&lt;BR /&gt; main()&lt;BR /&gt; {&lt;BR /&gt;&lt;BR /&gt;   struct pst_processor psp;&lt;BR /&gt;   unsigned long int clock_speed, scclktick;&lt;BR /&gt;&lt;BR /&gt;   pstat_getprocessor(&amp;amp;psp, sizeof(psp), 1, 0);&lt;BR /&gt;&lt;BR /&gt;   scclktick=sysconf(_SC_CLK_TCK);&lt;BR /&gt;   clock_speed = psp.psp_iticksperclktick * scclktick;&lt;BR /&gt;&lt;BR /&gt;   printf("clock speed is %ld Mhz\n", clock_speed/1000000);&lt;BR /&gt;&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Olav&lt;BR /&gt;&lt;BR /&gt;&lt;/UNISTD.H&gt;&lt;/SYS&gt;&lt;/SYS&gt;</description>
      <pubDate>Mon, 12 Aug 2002 07:35:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-frequency/m-p/2783803#M77924</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2002-08-12T07:35:43Z</dc:date>
    </item>
  </channel>
</rss>

