<?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: Script for monitoring the Utilization of CPU and Memory. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-monitoring-the-utilization-of-cpu-and-memory/m-p/4546976#M370147</link>
    <description>So you want to write a script. What is preventing you from doing just that?&lt;BR /&gt;&lt;BR /&gt;Read the relevant man pages: use the commands "man sar", "man top" and "man vmstat" to find the options you may need.&lt;BR /&gt;&lt;BR /&gt;Find the commands that would produce the information you need if you had to do it manually. Then write the commands into a text file, one per line. You now have the basics of your script right there!&lt;BR /&gt;&lt;BR /&gt;Read "man sh-posix" if you need to learn about shell script syntax, shell built-in commands or general features of the standard Posix shell.&lt;BR /&gt;&lt;BR /&gt;MK</description>
    <pubDate>Wed, 09 Dec 2009 13:07:14 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2009-12-09T13:07:14Z</dc:date>
    <item>
      <title>Script for monitoring the Utilization of CPU and Memory.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-monitoring-the-utilization-of-cpu-and-memory/m-p/4546975#M370146</link>
      <description>Hi,&lt;BR /&gt;I want to write a script to monitor the utilization of CPU and Physical Memory every 15 min for 24 hours so that later i can plot the graph for CPU and Memory utilization.And using internal HP-UX command i.e. sar,top and vmstat.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Narendra&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Dec 2009 12:12:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-monitoring-the-utilization-of-cpu-and-memory/m-p/4546975#M370146</guid>
      <dc:creator>Narendra Uttekar</dc:creator>
      <dc:date>2009-12-09T12:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Script for monitoring the Utilization of CPU and Memory.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-monitoring-the-utilization-of-cpu-and-memory/m-p/4546976#M370147</link>
      <description>So you want to write a script. What is preventing you from doing just that?&lt;BR /&gt;&lt;BR /&gt;Read the relevant man pages: use the commands "man sar", "man top" and "man vmstat" to find the options you may need.&lt;BR /&gt;&lt;BR /&gt;Find the commands that would produce the information you need if you had to do it manually. Then write the commands into a text file, one per line. You now have the basics of your script right there!&lt;BR /&gt;&lt;BR /&gt;Read "man sh-posix" if you need to learn about shell script syntax, shell built-in commands or general features of the standard Posix shell.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 09 Dec 2009 13:07:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-monitoring-the-utilization-of-cpu-and-memory/m-p/4546976#M370147</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-12-09T13:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Script for monitoring the Utilization of CPU and Memory.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-monitoring-the-utilization-of-cpu-and-memory/m-p/4546977#M370148</link>
      <description>Hi Narendra,&lt;BR /&gt;this is monitoring script that uses glance.&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;GlnCmd=/opt/perf/bin/glance&lt;BR /&gt;WrkDir=~gpsactv/CHECK/scripts&lt;BR /&gt;GlnSyn=$WrkDir/gln_syntax_file&lt;BR /&gt;GlnOpt="-j60 -adviser_only -nosort -iterations 2 -bootup -syntax $GlnSyn"&lt;BR /&gt;ResLog=$(date +%Y%m)-res-cop.log&lt;BR /&gt;# Create glance syntax file&lt;BR /&gt;cat&amp;lt;&lt;EOD&gt;$GlnSyn&lt;BR /&gt;print "-- ", &lt;BR /&gt;      gbl_statdate, &lt;BR /&gt;      " ", &lt;BR /&gt;      gbl_stattime, &lt;BR /&gt;      " ", &lt;BR /&gt;      gbl_cpu_total_util|3|0, &lt;BR /&gt;      " ", &lt;BR /&gt;      gbl_disk_util_peak|3|0, &lt;BR /&gt;      " ", &lt;BR /&gt;      gbl_mem_util|3|0, &lt;BR /&gt;      " ", &lt;BR /&gt;      gbl_swap_space_util|3|0&lt;BR /&gt;EOD&lt;BR /&gt;#echo -- MM/DD/YY HH:MM:SS CPU DSK MEM SWA&lt;BR /&gt;$GlnCmd $GlnOpt 2&amp;gt;/dev/null |tail +2 &amp;gt;&amp;gt;$WrkDir/../dat/$ResLog&lt;BR /&gt;#eof&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Art&lt;/EOD&gt;</description>
      <pubDate>Thu, 10 Dec 2009 08:11:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-monitoring-the-utilization-of-cpu-and-memory/m-p/4546977#M370148</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2009-12-10T08:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Script for monitoring the Utilization of CPU and Memory.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-monitoring-the-utilization-of-cpu-and-memory/m-p/4546978#M370149</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Bill McNAMARA created two threads to collect usefull scripts of any sort:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=178514" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=178514&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Dec 2009 09:32:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-monitoring-the-utilization-of-cpu-and-memory/m-p/4546978#M370149</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2009-12-10T09:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Script for monitoring the Utilization of CPU and Memory.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-for-monitoring-the-utilization-of-cpu-and-memory/m-p/4546979#M370150</link>
      <description>If you want shiny graphs you can use perfview. Khm, I wanted to say 'Performance Manager', as it is called by this summer. Here is a trial version:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&amp;amp;cp=1-11-15-28" target="_blank"&gt;https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&amp;amp;cp=1-11-15-28&lt;/A&gt;^1792_4000_100__&lt;BR /&gt;&lt;BR /&gt;You don't need to write a script, with Performance Manager you can reach back to historical data:&lt;BR /&gt;&lt;BR /&gt;"  &lt;BR /&gt;HP Performance Manager Software is a web-based analysis and visualization tool that analyzes performance trends of applications, systems, and services. This software helps you manage your application performance by enabling you to proactively detect and isolate server bottlenecks. It provides a consistent set of cross-platform metrics for heterogeneous physical and virtual environments. And it enables you to examine server utilization in real time and historical performance trends. "&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Dec 2009 14:44:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-for-monitoring-the-utilization-of-cpu-and-memory/m-p/4546979#M370150</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2009-12-10T14:44:14Z</dc:date>
    </item>
  </channel>
</rss>

