<?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: command - in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command/m-p/2849770#M93250</link>
    <description>Hello Scott.&lt;BR /&gt;&lt;BR /&gt;You can get this information using getconf(1m).&lt;BR /&gt;getconf CLK_TCK&lt;BR /&gt;getconf MACHINE_MODEL&lt;BR /&gt;&lt;BR /&gt;Model can be queried by simply typing &lt;BR /&gt;model&lt;BR /&gt;&lt;BR /&gt;Have a look on getconf man page. It provides some other usefull information.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;0leg</description>
    <pubDate>Thu, 21 Nov 2002 22:59:20 GMT</pubDate>
    <dc:creator>Oleg Zieaev_1</dc:creator>
    <dc:date>2002-11-21T22:59:20Z</dc:date>
    <item>
      <title>command -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command/m-p/2849767#M93247</link>
      <description>I am looking for a command that will give me information (model, clock speed) about the uprocessor that is in my 11i workstation.  I know uname -a but that doesn't tell me what I need.&lt;BR /&gt;&lt;BR /&gt;-Scott</description>
      <pubDate>Thu, 21 Nov 2002 22:38:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command/m-p/2849767#M93247</guid>
      <dc:creator>Scott McDade</dc:creator>
      <dc:date>2002-11-21T22:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: command -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command/m-p/2849768#M93248</link>
      <description>Hi Scott,&lt;BR /&gt;&lt;BR /&gt;Try &lt;BR /&gt;&lt;BR /&gt;# model (for the model)&lt;BR /&gt;&lt;BR /&gt;# echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem&lt;BR /&gt;&lt;BR /&gt;You can also get this information in the 'print_manifest' output&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Michael</description>
      <pubDate>Thu, 21 Nov 2002 22:45:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command/m-p/2849768#M93248</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-11-21T22:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: command -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command/m-p/2849769#M93249</link>
      <description>Hi Scott,&lt;BR /&gt;&lt;BR /&gt;The best thing to use would be the STM (Support Tools Mgr) suite of commands - cstm (command-line) xstm (X-window) mstm (menu-based).&lt;BR /&gt;These are installed from the OnlineDiag bundle.&lt;BR /&gt;Run swlist &amp;amp; look for that bundle.&lt;BR /&gt;If you don't have it you can load it off the CD.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 21 Nov 2002 22:49:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command/m-p/2849769#M93249</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-11-21T22:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: command -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command/m-p/2849770#M93250</link>
      <description>Hello Scott.&lt;BR /&gt;&lt;BR /&gt;You can get this information using getconf(1m).&lt;BR /&gt;getconf CLK_TCK&lt;BR /&gt;getconf MACHINE_MODEL&lt;BR /&gt;&lt;BR /&gt;Model can be queried by simply typing &lt;BR /&gt;model&lt;BR /&gt;&lt;BR /&gt;Have a look on getconf man page. It provides some other usefull information.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;0leg</description>
      <pubDate>Thu, 21 Nov 2002 22:59:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command/m-p/2849770#M93250</guid>
      <dc:creator>Oleg Zieaev_1</dc:creator>
      <dc:date>2002-11-21T22:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: command -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command/m-p/2849771#M93251</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have got an script just try it out&lt;BR /&gt;&lt;BR /&gt;================ Cut here ==========================&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;#########################################################################&lt;BR /&gt;#########################################################################&lt;BR /&gt;#&lt;BR /&gt;#  script is HP-UX specific; check OK to run &amp;amp; determine release level&lt;BR /&gt;#&lt;BR /&gt;#########################################################################&lt;BR /&gt;#########################################################################&lt;BR /&gt;&lt;BR /&gt;if [ `uname -s` != "HP-UX" ]; then&lt;BR /&gt;        echo "Incompatible kernel, script is HP-UX specific; exiting"&lt;BR /&gt;        exit 1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;VER=`uname -r | cut -c3-4`&lt;BR /&gt;case $VER in&lt;BR /&gt;        "09")   KERNEL="/hp-ux"&lt;BR /&gt;                ;;&lt;BR /&gt;        "10"|           "11")   KERNEL="/stand/vmunix"&lt;BR /&gt;                ;;&lt;BR /&gt;        *)      echo "HP-UX version $VER not supported"&lt;BR /&gt;                exit 2&lt;BR /&gt;                ;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#  Check that /dev/mem is readable&lt;BR /&gt;if [ ! -r /dev/mem ]; then&lt;BR /&gt;        echo "/dev/mem read access denied"&lt;BR /&gt;        exit 3&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#  determine page size&lt;BR /&gt;eval $(grep "define *PAGESIZE" /usr/include/limits.h         | sed 's/# *define *//;s/ /=/;s/ *//g')&lt;BR /&gt;if [ "$PAGESIZE" = "" ]; then&lt;BR /&gt;        echo "PAGESIZE not explicitly defined; assuming 4096"&lt;BR /&gt;        PAGESIZE=4096&lt;BR /&gt;fi&lt;BR /&gt;# echo $PAGESIZE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#  start adb&lt;BR /&gt;adb -k $KERNEL /dev/mem |&amp;amp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#  get kernel data&lt;BR /&gt;alias setvar='read -p title ; read -p resp ; eval $(echo $resp | sed "s/: */=/")'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;print -p hostname/s             ; setvar&lt;BR /&gt;print -p pdc_model_string/s     ; setvar&lt;BR /&gt;print -p processor_count/D      ; setvar&lt;BR /&gt;print -p cpu_arch_is_2_0/D      ; setvar&lt;BR /&gt;print -p cpu_arch_is_1_1/D      ; setvar&lt;BR /&gt;print -p cpu_arch_is_1_0/D      ; setvar&lt;BR /&gt;print -p hz/D                   ; setvar&lt;BR /&gt;print -p itick_per_tick/D       ; setvar&lt;BR /&gt;if [ "$VER" -eq "11" ]; then&lt;BR /&gt;        print -p phys_mem_pages/D       ; setvar&lt;BR /&gt;        ((mem = phys_mem_pages / 1024))&lt;BR /&gt;else&lt;BR /&gt;        print -p physmem/D              ; setvar&lt;BR /&gt;        ((mem = physmem / 1024))&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;((clock = itick_per_tick * hz / 1000000 ))&lt;BR /&gt;((mem = mem * PAGESIZE))&lt;BR /&gt;((mem = mem / 1024))&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#  display results&lt;BR /&gt;if [ "$cpu_arch_is_2_0" = "1" ]; then&lt;BR /&gt;        cpu_arch="PA20"&lt;BR /&gt;elif [ "$cpu_arch_is_1_1" = "1" ]; then&lt;BR /&gt;        cpu_arch="PA11"&lt;BR /&gt;elif [ "$cpu_arch_is_1_0" = "1" ]; then&lt;BR /&gt;        cpu_arch="PA10"&lt;BR /&gt;else&lt;BR /&gt;        cpu_arch="PAXX"&lt;BR /&gt;fi&lt;BR /&gt;echo "hostname\t= $hostname"&lt;BR /&gt;echo "model\t\t= $pdc_model_string"&lt;BR /&gt;echo "OS release level= `uname -r`"&lt;BR /&gt;echo "processor count\t= $processor_count"&lt;BR /&gt;echo "CPU type\t= $cpu_arch"&lt;BR /&gt;echo "clock speed\t= ${clock} MHz"&lt;BR /&gt;echo "memory\t\t= ${mem} Mb"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#  kill off adb &amp;amp; exit&lt;BR /&gt;print -p '$q'&lt;BR /&gt;exit 0 &lt;BR /&gt;&lt;BR /&gt;================ END ==========================&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;-Niraj</description>
      <pubDate>Fri, 22 Nov 2002 03:42:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command/m-p/2849771#M93251</guid>
      <dc:creator>Niraj Kumar Verma</dc:creator>
      <dc:date>2002-11-22T03:42:04Z</dc:date>
    </item>
  </channel>
</rss>

