<?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: Monitoring Script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-script/m-p/3864070#M545971</link>
    <description>Hi Frank,&lt;BR /&gt;&lt;BR /&gt;Setting UNIX95 enables XPG4 behavior for a command, which typically adds extra functionality.  In the case of 'ps', XPG4 behavior allows extra columns to be specified.  Remember to never export UNIX95 to your environment, as it will cause unexpected behavior in certain commands.&lt;BR /&gt;&lt;BR /&gt;PCS</description>
    <pubDate>Sun, 17 Sep 2006 20:28:15 GMT</pubDate>
    <dc:creator>spex</dc:creator>
    <dc:date>2006-09-17T20:28:15Z</dc:date>
    <item>
      <title>Monitoring Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-script/m-p/3864065#M545966</link>
      <description>Hi Experts. I am new in scripting. I need to make a script to monitoring the percent &lt;BR /&gt;(%) of cpu usage in hp-ux machines...In the same way a script to monitoring the memory usage (%)...Please can you help me...&lt;BR /&gt;Thanks...</description>
      <pubDate>Sun, 17 Sep 2006 17:32:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-script/m-p/3864065#M545966</guid>
      <dc:creator>FrankBurg</dc:creator>
      <dc:date>2006-09-17T17:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-script/m-p/3864066#M545967</link>
      <description>Please explain cleary meaning of monitoring. Do you want to capture CPU and Memory usage during certain period or capture data and recompile it later?&lt;BR /&gt;&lt;BR /&gt;Glance and top commands will help you to monitor system activity.</description>
      <pubDate>Sun, 17 Sep 2006 19:45:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-script/m-p/3864066#M545967</guid>
      <dc:creator>IT_2007</dc:creator>
      <dc:date>2006-09-17T19:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-script/m-p/3864067#M545968</link>
      <description>Hi IT_2007, I don't want to collect the information about cpu or memory usage in a period of time. I need a snapshot to determine which is the process (only one) using more cpu or memory...and then kill it.</description>
      <pubDate>Sun, 17 Sep 2006 19:53:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-script/m-p/3864067#M545968</guid>
      <dc:creator>FrankBurg</dc:creator>
      <dc:date>2006-09-17T19:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-script/m-p/3864068#M545969</link>
      <description>Hi Frank,&lt;BR /&gt;&lt;BR /&gt;pid of process consuming most CPU displayed on stdout:&lt;BR /&gt;# UNIX95= ps -e -o "pcpu,pid" | sort -n -k1 | tail -1 | awk '{print $2}'&lt;BR /&gt;&lt;BR /&gt;pid of process consuming most memory displayed on stdout:&lt;BR /&gt;# UNIX95= ps -e -o "vsz,pid" | sort -n -k1 | tail -1 | awk '{print $2}'&lt;BR /&gt;&lt;BR /&gt;PCS&lt;BR /&gt;</description>
      <pubDate>Sun, 17 Sep 2006 20:06:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-script/m-p/3864068#M545969</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-09-17T20:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-script/m-p/3864069#M545970</link>
      <description>Thanks spex, I understand the pipe commnad, but, tell me something, why are you using the variable UNIX95?...I don't understand that...</description>
      <pubDate>Sun, 17 Sep 2006 20:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-script/m-p/3864069#M545970</guid>
      <dc:creator>FrankBurg</dc:creator>
      <dc:date>2006-09-17T20:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-script/m-p/3864070#M545971</link>
      <description>Hi Frank,&lt;BR /&gt;&lt;BR /&gt;Setting UNIX95 enables XPG4 behavior for a command, which typically adds extra functionality.  In the case of 'ps', XPG4 behavior allows extra columns to be specified.  Remember to never export UNIX95 to your environment, as it will cause unexpected behavior in certain commands.&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Sun, 17 Sep 2006 20:28:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-script/m-p/3864070#M545971</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-09-17T20:28:15Z</dc:date>
    </item>
  </channel>
</rss>

