<?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: HP-UX command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715911#M251870</link>
    <description>Hi Ed,&lt;BR /&gt;&lt;BR /&gt;Number of processors in use: &lt;BR /&gt;# echo "runningprocs/D" | adb /stand/vmunix /dev/mem &lt;BR /&gt;&lt;BR /&gt;Processor speed: &lt;BR /&gt;# echo itick_per_usec/D | adb /stand/vmunix /dev/mem &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Simon</description>
    <pubDate>Tue, 24 Jan 2006 06:19:30 GMT</pubDate>
    <dc:creator>Simon Wickham_6</dc:creator>
    <dc:date>2006-01-24T06:19:30Z</dc:date>
    <item>
      <title>HP-UX command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715904#M251863</link>
      <description>Hi Experts,&lt;BR /&gt;&lt;BR /&gt;We have a HP-UX box. Need help on the following:&lt;BR /&gt;&lt;BR /&gt;1) We have 2 processors in the machine but it seems that it is still too slow. How could i check the number of processors and if both are functioning properly?&lt;BR /&gt;&lt;BR /&gt;2) How to check the memory utilization?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot in advance for your help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ed</description>
      <pubDate>Mon, 23 Jan 2006 21:09:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715904#M251863</guid>
      <dc:creator>Ed Velasco</dc:creator>
      <dc:date>2006-01-23T21:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715905#M251864</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Ed,&lt;BR /&gt;&lt;BR /&gt; A couple of quick commands&lt;BR /&gt;&lt;BR /&gt;Top will show the cpu utilization by cpu, as well as some other interesting info&lt;BR /&gt;&lt;BR /&gt;glance, if you have it installed will give you detailed reports on CPU and memory&lt;BR /&gt;&lt;BR /&gt;(the graphical version of glance is gpm)&lt;BR /&gt;&lt;BR /&gt;If you weant you can also use sar</description>
      <pubDate>Mon, 23 Jan 2006 21:16:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715905#M251864</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2006-01-23T21:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715906#M251865</link>
      <description>Hi Ed&lt;BR /&gt;1, In order to determine if CPU work properly you can use:&lt;BR /&gt;#top&lt;BR /&gt;You will see all CPU in the output.&lt;BR /&gt;2, you can use&lt;BR /&gt;#vmstat&lt;BR /&gt;#glanplus (this sofware need to be purchased)&lt;BR /&gt;HTH</description>
      <pubDate>Mon, 23 Jan 2006 21:20:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715906#M251865</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2006-01-23T21:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715907#M251866</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1. How could i check the number of processors and if both are functioning properly?&lt;BR /&gt;&lt;BR /&gt;# ioscan -nfCprocessor&lt;BR /&gt;&lt;BR /&gt;From here, you will see the number of processor. And if the status is CLAIMED, it means the processor is funtioning properly.&lt;BR /&gt;&lt;BR /&gt;2. How to check the memory utilization?&lt;BR /&gt;&lt;BR /&gt;The good way to check it by using Glance, but this software is purchaseable one.&lt;BR /&gt;&lt;BR /&gt;The other way around by using the command below :&lt;BR /&gt;&lt;BR /&gt;# swapinfo -tam&lt;BR /&gt;&lt;BR /&gt;# vmstat 5 30&lt;BR /&gt;&lt;BR /&gt;# top&lt;BR /&gt;&lt;BR /&gt;Hope this information can help you.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jan 2006 21:23:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715907#M251866</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2006-01-23T21:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715908#M251867</link>
      <description>HI Ed,&lt;BR /&gt; You can use ioscan to find the processors on your server.&lt;BR /&gt;&lt;BR /&gt;eg:&lt;BR /&gt;# 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  37        processor CLAIMED   PROCESSOR Processor&lt;BR /&gt;processor   1  45        processor CLAIMED   PROCESSOR Processor&lt;BR /&gt;processor   2  101       processor CLAIMED   PROCESSOR Processor&lt;BR /&gt;processor   3  109       processor CLAIMED   PROCESSOR Processor&lt;BR /&gt;&lt;BR /&gt;vmstat, top, glance can be used for memory utilization.&lt;BR /&gt;&lt;BR /&gt;You may check for the swap utilization also&lt;BR /&gt;&lt;BR /&gt;swapinfo -tam&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Shameer</description>
      <pubDate>Mon, 23 Jan 2006 23:47:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715908#M251867</guid>
      <dc:creator>Shameer.V.A</dc:creator>
      <dc:date>2006-01-23T23:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715909#M251868</link>
      <description>1) Use top command to view processor count and status. &lt;BR /&gt;&lt;BR /&gt;2) Use vmstat to get memory status. Or &lt;BR /&gt;&lt;BR /&gt;   UNIX95= ps -ef -o sz,vsz,pid,comm&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Tue, 24 Jan 2006 00:17:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715909#M251868</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-01-24T00:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715910#M251869</link>
      <description>Also Why "sar" are not suggested for to check&lt;BR /&gt;memory utilization...&lt;BR /&gt;take a man page of sar&lt;BR /&gt;Good Luck,&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jan 2006 06:05:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715910#M251869</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2006-01-24T06:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715911#M251870</link>
      <description>Hi Ed,&lt;BR /&gt;&lt;BR /&gt;Number of processors in use: &lt;BR /&gt;# echo "runningprocs/D" | adb /stand/vmunix /dev/mem &lt;BR /&gt;&lt;BR /&gt;Processor speed: &lt;BR /&gt;# echo itick_per_usec/D | adb /stand/vmunix /dev/mem &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Simon</description>
      <pubDate>Tue, 24 Jan 2006 06:19:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715911#M251870</guid>
      <dc:creator>Simon Wickham_6</dc:creator>
      <dc:date>2006-01-24T06:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715912#M251871</link>
      <description>Hi,&lt;BR /&gt;     use top command to find details about processors and how they are utilized.&lt;BR /&gt;&lt;BR /&gt;And vmstat will tell about memory.&lt;BR /&gt;&lt;BR /&gt;Also you can use sar.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Prabu.S</description>
      <pubDate>Tue, 24 Jan 2006 06:20:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715912#M251871</guid>
      <dc:creator>Senthil Prabu.S_1</dc:creator>
      <dc:date>2006-01-24T06:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715913#M251872</link>
      <description>Hi; &lt;BR /&gt;&lt;BR /&gt;#top&lt;BR /&gt;#glance&lt;BR /&gt;&lt;BR /&gt;Try this two commands..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;indrajit</description>
      <pubDate>Wed, 25 Jan 2006 13:54:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715913#M251872</guid>
      <dc:creator>Indrajit_1</dc:creator>
      <dc:date>2006-01-25T13:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715914#M251873</link>
      <description>Shalom Ed,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/system.perf.sh" target="_blank"&gt;http://www.hpux.ws/system.perf.sh&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Its a set if free sar tools that run background and can collect data for any period of time. These will likely show a bottleneck if it exists. &lt;BR /&gt;&lt;BR /&gt;Its always important to now why a system is slow prior to trying to speed it up.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 25 Jan 2006 14:07:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715914#M251873</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-01-25T14:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715915#M251874</link>
      <description>Compile the attached c program called memdtail.&lt;BR /&gt;&lt;BR /&gt;Use tools like glance and top.&lt;BR /&gt;&lt;BR /&gt;cCheck kernel parameters like dbc_mac_pct (default is 50% of ram) you want it to work out between 450 and 800 MB of ram.&lt;BR /&gt;&lt;BR /&gt;# cat processmem&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;# processmem - display memory claimed by a process&lt;BR /&gt;# gwild 03192004&lt;BR /&gt;#&lt;BR /&gt;if [ $# -lt 1 -o \( $# -gt 1 -a $# -lt 4 \) ]&lt;BR /&gt;then&lt;BR /&gt;  echo "Usage:"&lt;BR /&gt;  echo "processmem \"process\""&lt;BR /&gt;  echo "Example:"&lt;BR /&gt;  echo "processmem rpc"&lt;BR /&gt;  exit 1&lt;BR /&gt;fi&lt;BR /&gt;echo " "&lt;BR /&gt;&lt;BR /&gt;PROCESS=$1&lt;BR /&gt;&lt;BR /&gt;mps=0&lt;BR /&gt;#for sz in `ps -elf | grep $PROCESS | grep -v grep | awk '{print $10}'`&lt;BR /&gt;for sz in `UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | grep -v Kbytes | grep $PROCESS | awk '{print $1}'`&lt;BR /&gt;do&lt;BR /&gt;mps=`expr $mps + $sz`&lt;BR /&gt;done&lt;BR /&gt;#echo `expr $mps \* 4096`&lt;BR /&gt;echo "\nMemory claimed by $PROCESS: $mps Kbytes.\n"&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 25 Jan 2006 14:23:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-command/m-p/3715915#M251874</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-01-25T14:23:13Z</dc:date>
    </item>
  </channel>
</rss>

