<?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 to Know frequency of CPUs in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308065#M185028</link>
    <description>as root try this&lt;BR /&gt;echo itick_per_tick/D | adb /hp-ux /dev/kmem | tail -n1 \&lt;BR /&gt;| awk '{print $2 / 10000, "MHZ"}' &lt;BR /&gt;</description>
    <pubDate>Thu, 17 Jun 2004 09:49:43 GMT</pubDate>
    <dc:creator>Bruno Ganino</dc:creator>
    <dc:date>2004-06-17T09:49:43Z</dc:date>
    <item>
      <title>How to Know frequency of CPUs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308056#M185019</link>
      <description>Hi All,&lt;BR /&gt;     How can I know frequency of CPUs on HP UX system ? Plz note that i don't have root  priviledge. Like in Solaris command is &lt;BR /&gt;/usr/sbin/psrinfo -v&lt;BR /&gt;This command does not require root priviledge in solaris. Every general user can run this command. Please tell me same function command on HP UX system.&lt;BR /&gt;Thanks in Advance&lt;BR /&gt;Peeyush</description>
      <pubDate>Thu, 17 Jun 2004 09:02:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308056#M185019</guid>
      <dc:creator>Peeyush_1</dc:creator>
      <dc:date>2004-06-17T09:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know frequency of CPUs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308057#M185020</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;launch SAM:&lt;BR /&gt;&lt;BR /&gt;# sam ---&amp;gt; Performance Monitor ---&amp;gt; System Properties ---&amp;gt; clock frequency&lt;BR /&gt;&lt;BR /&gt;Otherwise by commandline:&lt;BR /&gt;&lt;BR /&gt;# echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem&lt;BR /&gt;&lt;BR /&gt;It will obtain a number which will be the CPU frequency.&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Ettore</description>
      <pubDate>Thu, 17 Jun 2004 09:07:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308057#M185020</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2004-06-17T09:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know frequency of CPUs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308058#M185021</link>
      <description>Just an fyi... here is a great site for similar commands.&lt;BR /&gt;&lt;BR /&gt;dynamic site you can compare 2 or more OSs...&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://bhami.com/rosetta.html" target="_blank"&gt;http://bhami.com/rosetta.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Another static site...&lt;BR /&gt;&lt;A href="http://www.unixguide.net/unixguide.shtml" target="_blank"&gt;http://www.unixguide.net/unixguide.shtml&lt;/A&gt;</description>
      <pubDate>Thu, 17 Jun 2004 09:19:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308058#M185021</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-06-17T09:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know frequency of CPUs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308059#M185022</link>
      <description>Hi,&lt;BR /&gt;  SAM won't help me beacuse i am connected with server with telnet and command adb i think require root permission.&lt;BR /&gt;   plz some other solution.&lt;BR /&gt;Regards,&lt;BR /&gt;Peeyush</description>
      <pubDate>Thu, 17 Jun 2004 09:23:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308059#M185022</guid>
      <dc:creator>Peeyush_1</dc:creator>
      <dc:date>2004-06-17T09:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know frequency of CPUs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308060#M185023</link>
      <description>You can use this little script:&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;Pete</description>
      <pubDate>Thu, 17 Jun 2004 09:23:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308060#M185023</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-06-17T09:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know frequency of CPUs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308061#M185024</link>
      <description>You can use sam from a telnet session, it will default to text TUI mode...&lt;BR /&gt;&lt;BR /&gt;Thats all I use on my boxes...</description>
      <pubDate>Thu, 17 Jun 2004 09:25:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308061#M185024</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-06-17T09:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know frequency of CPUs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308062#M185025</link>
      <description>Yes - you need root access....&lt;BR /&gt;&lt;BR /&gt;Here's a little script...&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;#&lt;BR /&gt;# Taken from the HP/UniGraphics FAQ&lt;BR /&gt;# You must be ROOT to execute this since it uses adb to&lt;BR /&gt;# examine the running kernel&lt;BR /&gt;#&lt;BR /&gt;GetKernelSymbol()&lt;BR /&gt;{&lt;BR /&gt;echo "$1/D" | \&lt;BR /&gt;adb -k $hpux /dev/kmem | \&lt;BR /&gt;tr "\012" " " | \&lt;BR /&gt;read junk junk2 kval&lt;BR /&gt;}&lt;BR /&gt;hpux=/hp-ux&lt;BR /&gt;rev=$(uname -r | cut -d. -f2)&lt;BR /&gt;if ((rev &amp;gt; 9)); then hpux=/stand/vmunix ;fi&lt;BR /&gt;/bin/uname -a&lt;BR /&gt;GetKernelSymbol "processor_count"&lt;BR /&gt;print CPU Count: $kval&lt;BR /&gt;GetKernelSymbol "itick_per_tick"&lt;BR /&gt;let speed=kval/10000&lt;BR /&gt;print CPU Speed: $speed MHz&lt;BR /&gt;if ((rev &amp;gt; 10)); then&lt;BR /&gt;print CPU HW Support: `getconf HW_CPU_SUPP_BITS`-bit&lt;BR /&gt;print Kernel Support: `getconf KERNEL_BITS`-bit&lt;BR /&gt;GetKernelSymbol "memory_installed_in_machine"&lt;BR /&gt;else&lt;BR /&gt;GetKernelSymbol "physmem"&lt;BR /&gt;fi&lt;BR /&gt;let mb=kval*4/1024 # convert pages to MB&lt;BR /&gt;print RAM Size: $mb MB&lt;BR /&gt;GetKernelSymbol "bufpages"&lt;BR /&gt;let mb=kval*4/1024 # convert pages to MB&lt;BR /&gt;print bufpages: $mb MB&lt;BR /&gt;GetKernelSymbol "maxuprc"&lt;BR /&gt;print maxuprc: $kval&lt;BR /&gt;GetKernelSymbol "maxvgs"&lt;BR /&gt;print maxvgs: $kval&lt;BR /&gt;GetKernelSymbol "maxfiles"&lt;BR /&gt;print maxfiles: $kval&lt;BR /&gt;GetKernelSymbol "max_thread_proc"&lt;BR /&gt;print max_thread_proc: $kval&lt;BR /&gt;GetKernelSymbol "nfile"&lt;BR /&gt;print nfile: $kval&lt;BR /&gt;GetKernelSymbol "nflocks"&lt;BR /&gt;print nflock: $kval&lt;BR /&gt;GetKernelSymbol "nproc"&lt;BR /&gt;print nproc: $kval&lt;BR /&gt;GetKernelSymbol "ninode"&lt;BR /&gt;print ninode: $kval&lt;BR /&gt;GetKernelSymbol "vfd_cw"&lt;BR /&gt;print shmmax: $kval&lt;BR /&gt;GetKernelSymbol "shmmni"&lt;BR /&gt;print shmmni: $kval&lt;BR /&gt;GetKernelSymbol "dbc_max_pct"&lt;BR /&gt;print dbc_max_pct: $kval&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 17 Jun 2004 09:29:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308062#M185025</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-06-17T09:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know frequency of CPUs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308063#M185026</link>
      <description>SAM starts as Terminal User Interface too.&lt;BR /&gt;Then it is not a problem if you are in telnet.&lt;BR /&gt;&lt;BR /&gt;It is not possible to know it by a NOT-root user!&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Ettore</description>
      <pubDate>Thu, 17 Jun 2004 09:40:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308063#M185026</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2004-06-17T09:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know frequency of CPUs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308064#M185027</link>
      <description>In Solaris&lt;BR /&gt;kstat -m cpu_info&lt;BR /&gt;&lt;BR /&gt;Bruno</description>
      <pubDate>Thu, 17 Jun 2004 09:44:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308064#M185027</guid>
      <dc:creator>Bruno Ganino</dc:creator>
      <dc:date>2004-06-17T09:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know frequency of CPUs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308065#M185028</link>
      <description>as root try this&lt;BR /&gt;echo itick_per_tick/D | adb /hp-ux /dev/kmem | tail -n1 \&lt;BR /&gt;| awk '{print $2 / 10000, "MHZ"}' &lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jun 2004 09:49:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308065#M185028</guid>
      <dc:creator>Bruno Ganino</dc:creator>
      <dc:date>2004-06-17T09:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know frequency of CPUs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308066#M185029</link>
      <description>If the diagmond process is running, you can do this:&lt;BR /&gt;&lt;BR /&gt;echo "selclass qualifier cpu;info;wait;infolog"|cstm&lt;BR /&gt;&lt;BR /&gt;One of the output lines will look like this:&lt;BR /&gt;&lt;BR /&gt;Instruction Cache [Kbyte]: N/A          Processor Speed:          875000000 &lt;BR /&gt;&lt;BR /&gt;for an 875 MHz processor.&lt;BR /&gt;&lt;BR /&gt;Tom</description>
      <pubDate>Thu, 17 Jun 2004 09:53:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308066#M185029</guid>
      <dc:creator>Tom Maloy</dc:creator>
      <dc:date>2004-06-17T09:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know frequency of CPUs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308067#M185030</link>
      <description>Forgot to mention that&lt;BR /&gt;&lt;BR /&gt;echo "selclass qualifier cpu;info;wait;infolog"|cstm&lt;BR /&gt;&lt;BR /&gt;does not require root access, but you may have to specify the full path of /usr/sbin/cstm.&lt;BR /&gt;&lt;BR /&gt;Tom</description>
      <pubDate>Thu, 17 Jun 2004 09:56:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308067#M185030</guid>
      <dc:creator>Tom Maloy</dc:creator>
      <dc:date>2004-06-17T09:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know frequency of CPUs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308068#M185031</link>
      <description>As you do not have root access, use model command, the last part is cpu frequency in hertz. But not very relibale though.&lt;BR /&gt;&lt;BR /&gt;anil</description>
      <pubDate>Thu, 17 Jun 2004 09:59:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308068#M185031</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-06-17T09:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know frequency of CPUs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308069#M185032</link>
      <description>My FAQ sais it all:&lt;BR /&gt;&lt;BR /&gt;What is my CPU speed?&lt;BR /&gt;&lt;BR /&gt;      d3:/ 103 # echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem&lt;BR /&gt;      itick_per_usec:&lt;BR /&gt;      itick_per_usec: 240&lt;BR /&gt;      d3:/ 104 #&lt;BR /&gt;&lt;BR /&gt;Or with Perl:&lt;BR /&gt;&lt;BR /&gt;      a5:/wrk 108 &amp;gt; perl -MUnix::Processors -le'print join"\t",$_-&amp;gt;id,$_-&amp;gt;state,$_-&amp;gt;type,$_-&amp;gt;clock for @{Unix::Processors-&amp;gt;new()-&amp;gt;processors}'&lt;BR /&gt;      0       online  HP PA-RISC 2.0  750&lt;BR /&gt;      1       online  HP PA-RISC 2.0  750&lt;BR /&gt;      a5:/wrk 109 &amp;gt;&lt;BR /&gt;&lt;BR /&gt;For the adb version one indeed does need root access. But you can get it without root access too, using a small C-program calling&lt;BR /&gt;&lt;BR /&gt;if (pstat_getprocessor (&amp;amp;psp, sizeof (psp), 1, 0)) {&lt;BR /&gt; clock = psp.psp_iticksperclktick / 10000;&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt;This is what the perl module does&lt;BR /&gt;&lt;BR /&gt;My HP ITRC site pages can be found at (please use LA as primary choice):&lt;BR /&gt;&lt;BR /&gt;USA Los Angeles &lt;A href="http://mirrors.develooper.com/hpux/" target="_blank"&gt;http://mirrors.develooper.com/hpux/&lt;/A&gt;&lt;BR /&gt;SGP Singapore   &lt;A href="https://www.beepz.com/personal/merijn/" target="_blank"&gt;https://www.beepz.com/personal/merijn/&lt;/A&gt;&lt;BR /&gt;USA Chicago     &lt;A href="http://ww.hpux.ws/merijn/" target="_blank"&gt;http://ww.hpux.ws/merijn/&lt;/A&gt;&lt;BR /&gt;NL  Hoofddorp   &lt;A href="http://www.cmve.net/~merijn/" target="_blank"&gt;http://www.cmve.net/~merijn/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn</description>
      <pubDate>Thu, 17 Jun 2004 10:06:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-know-frequency-of-cpus/m-p/3308069#M185032</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2004-06-17T10:06:27Z</dc:date>
    </item>
  </channel>
</rss>

