<?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 speed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134628#M799951</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This will give you the processor speed.&lt;BR /&gt;&lt;BR /&gt;echo itick_per_usec/D | adb -k /stand/vmunix /dev/kmem &lt;BR /&gt;&lt;BR /&gt;If you want to run this command as non-root user, you should have read access on /dev/kmem.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
    <pubDate>Thu, 04 Dec 2003 13:29:50 GMT</pubDate>
    <dc:creator>Sanjay_6</dc:creator>
    <dc:date>2003-12-04T13:29:50Z</dc:date>
    <item>
      <title>cpu speed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134620#M799943</link>
      <description>How do you find the speed of a cpu if you're not root?</description>
      <pubDate>Wed, 03 Dec 2003 07:53:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134620#M799943</guid>
      <dc:creator>Regina Mitchell</dc:creator>
      <dc:date>2003-12-03T07:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: cpu speed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134621#M799944</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;normaly I would say,&lt;BR /&gt;&lt;BR /&gt;# echo itick_per_tick/D|adb -k /stand/vmunix /dev/kmem | tail -n1 | awk '{print $2/10000 "MHz"}'&lt;BR /&gt;&lt;BR /&gt;Nut I'm not shure you can do this from a non root user. I do not have a UX system at this moment to try.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 03 Dec 2003 08:00:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134621#M799944</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-12-03T08:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: cpu speed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134622#M799945</link>
      <description>Shawn,&lt;BR /&gt;&lt;BR /&gt;I use this little script (but it has to be run by root):&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;I don't know of a way to obtain this info as a non-root user.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 03 Dec 2003 08:02:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134622#M799945</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-12-03T08:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: cpu speed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134623#M799946</link>
      <description>You could open up a whole can of security worms and put it in a setuid root script ;-) or you could install sudo to run it... (we've been here before haven't we?).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Wed, 03 Dec 2003 08:04:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134623#M799946</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2003-12-03T08:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: cpu speed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134624#M799947</link>
      <description>From the command:  # echo "itick_per_usec/D" | adb /stand/vmunix /dev/mem | tail -1&lt;BR /&gt;  &lt;BR /&gt;From SAM: Go to Performance Monitors -&amp;gt; System Properties -&amp;gt; Memory&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Bruno&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 03 Dec 2003 08:10:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134624#M799947</guid>
      <dc:creator>Bruno Ganino</dc:creator>
      <dc:date>2003-12-03T08:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: cpu speed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134625#M799948</link>
      <description>&lt;BR /&gt;Can use:&lt;BR /&gt;# model&lt;BR /&gt;9000/800/L1000-36&lt;BR /&gt;&lt;BR /&gt;And just add a 0 (zero) to the last number, so this server has a 360 processor.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Dec 2003 12:48:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134625#M799948</guid>
      <dc:creator>Dave Hutton</dc:creator>
      <dc:date>2003-12-04T12:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: cpu speed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134626#M799949</link>
      <description>Forgot to add, you don't have to be root to do this.  I did this as my generic user account.&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Dec 2003 12:52:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134626#M799949</guid>
      <dc:creator>Dave Hutton</dc:creator>
      <dc:date>2003-12-04T12:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: cpu speed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134627#M799950</link>
      <description>Model command as a user will give the o/p in this format which has to be understood as speed .&lt;BR /&gt;&lt;BR /&gt;9000/800/N4000-55 ( 550 MHZ)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Thu, 04 Dec 2003 13:23:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134627#M799950</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2003-12-04T13:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: cpu speed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134628#M799951</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This will give you the processor speed.&lt;BR /&gt;&lt;BR /&gt;echo itick_per_usec/D | adb -k /stand/vmunix /dev/kmem &lt;BR /&gt;&lt;BR /&gt;If you want to run this command as non-root user, you should have read access on /dev/kmem.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Dec 2003 13:29:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134628#M799951</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2003-12-04T13:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: cpu speed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134629#M799952</link>
      <description>Or use this script:&lt;BR /&gt;&lt;BR /&gt;# hpmem&lt;BR /&gt;HP-UX pc0003 B.11.11 U 9000/800 2504392627 unlimited-user license&lt;BR /&gt;CPU Count: 6&lt;BR /&gt;CPU Speed: 750 MHz&lt;BR /&gt;CPU HW Support: 64-bit&lt;BR /&gt;Kernel Support: 64-bit&lt;BR /&gt;RAM Size: 10080 MB&lt;BR /&gt;bufpages: 1008 MB&lt;BR /&gt;maxuprc: 800&lt;BR /&gt;maxvgs: 128&lt;BR /&gt;maxfiles: 2048&lt;BR /&gt;max_thread_proc: 256&lt;BR /&gt;nfile: 189100&lt;BR /&gt;nflock: 1200&lt;BR /&gt;nproc: 2560&lt;BR /&gt;ninode: 16384&lt;BR /&gt;shmmax: 1073741824&lt;BR /&gt;shmmni: 256&lt;BR /&gt;dbc_max_pct: 10&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Dec 2003 13:45:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134629#M799952</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-12-04T13:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: cpu speed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134630#M799953</link>
      <description>% cat cpu_rate.c&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;#include &lt;SYS&gt;1$N1&lt;BR /&gt;#include &lt;STDIO.H&gt;         :Ã &lt;BR /&gt;int main(int argc, char *argv[])7!` Ã¡&lt;BR /&gt;{&lt;BR /&gt;    struct pst_processor st;&lt;BR /&gt;    int id;&lt;BR /&gt;    for (id=0; pstat_getprocessor(&amp;amp;st, sizeof(st), (size_t)1, id)==1; id++) {&lt;BR /&gt; printf("processor %d- %d clock cycles per second\n",&lt;BR /&gt;     id, st.psp_iticksperclktick * sysconf(_SC_CLK_TCK));&lt;BR /&gt;    }&lt;BR /&gt;    return 0;&lt;BR /&gt;}&lt;BR /&gt;% cpu_rate&lt;BR /&gt;processor 0- 750000000 clock cycles per second&lt;BR /&gt;processor 1- 750000000 clock cycles per second&lt;/STDIO.H&gt;&lt;/SYS&gt;&lt;/SYS&gt;&lt;/SYS&gt;</description>
      <pubDate>Thu, 04 Dec 2003 14:21:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134630#M799953</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-12-04T14:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: cpu speed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134631#M799954</link>
      <description>Hmm, that picked up some interesting noise.&lt;BR /&gt;Change&lt;BR /&gt;&lt;BR /&gt;#include &lt;SYS&gt;1$N1&lt;BR /&gt;#include &lt;STDIO.H&gt; :Ã Â &lt;BR /&gt;int main(int argc, char *argv[])7!` Ã Â¡&lt;BR /&gt;&lt;BR /&gt;to&lt;BR /&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;int main(int argc, char&lt;/STDIO.H&gt;&lt;/SYS&gt;&lt;/STDIO.H&gt;&lt;/SYS&gt;</description>
      <pubDate>Thu, 04 Dec 2003 14:24:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134631#M799954</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-12-04T14:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: cpu speed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134632#M799955</link>
      <description>And that dropped some characters. :-)&lt;BR /&gt;Just remove the odd characters from the&lt;BR /&gt;ends of those three lines.</description>
      <pubDate>Thu, 04 Dec 2003 14:25:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-speed/m-p/3134632#M799955</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-12-04T14:25:54Z</dc:date>
    </item>
  </channel>
</rss>

