<?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 system performance in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605589#M104221</link>
    <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Thanks for you all. &lt;BR /&gt;&lt;BR /&gt;Now I want to find out what value I should set as threshold on CPU usage, memory utilization, disk I/O utilization and swapping/paging? Is there any adviced value on them or any reference?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Yongye</description>
    <pubDate>Mon, 22 Aug 2005 01:52:25 GMT</pubDate>
    <dc:creator>yongye_2</dc:creator>
    <dc:date>2005-08-22T01:52:25Z</dc:date>
    <item>
      <title>monitoring system performance</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605579#M104211</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to design a system monitor solution. No biz management tools will be used. Just use UNIX command ps,sar,iostat,top,vmstat,uptime and shell script to archive the goal. But I am not familiar with the shell script. I wonder whether I can get the followed function through shell script,&lt;BR /&gt;&lt;BR /&gt;1) monitor system performance.Like CPU usage, disk I/O usage, Swap usage, Memory usage and so on.&lt;BR /&gt;2) Ability to set and monitor predefined threshold.&lt;BR /&gt;3) Auto send notification after perdefined threshold are exceeded.&lt;BR /&gt;4) Ability check system log and auto send notification when error detected.&lt;BR /&gt;&lt;BR /&gt;Any advice and reference are welcome.&lt;BR /&gt;&lt;BR /&gt;Yongye&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Aug 2005 08:10:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605579#M104211</guid>
      <dc:creator>yongye_2</dc:creator>
      <dc:date>2005-08-17T08:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring system performance</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605580#M104212</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Check man of the "sar" command. It's standard on all hp-ux servers and is able to collect and store all information you want.&lt;BR /&gt;&lt;BR /&gt;Enjoy :)&lt;BR /&gt;&lt;BR /&gt;Pedro</description>
      <pubDate>Wed, 17 Aug 2005 08:14:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605580#M104212</guid>
      <dc:creator>Pedro Cirne</dc:creator>
      <dc:date>2005-08-17T08:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring system performance</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605581#M104213</link>
      <description>You can script your own if you like...&lt;BR /&gt;&lt;BR /&gt;Use commands like uptime, top -d 1, sar swapinfo -tam, etc...&lt;BR /&gt;&lt;BR /&gt;Or download Big Brother:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.bb4.org/" target="_blank"&gt;http://www.bb4.org/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 17 Aug 2005 08:29:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605581#M104213</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-08-17T08:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring system performance</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605582#M104214</link>
      <description>Hi Yongye, looks this script:&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh &lt;BR /&gt;THRESHHOLD="7[0-9]%"&lt;BR /&gt;THRESHHOLD1="8[0-9]%"&lt;BR /&gt;THRESHHOLD2="9[0-9]%"&lt;BR /&gt;THRESHHOLD3="100%"&lt;BR /&gt;&lt;BR /&gt;# BDF ON SERVER XXXXX#1&lt;BR /&gt;echo "#####################" &amp;gt; bdf_on_servers.txt&lt;BR /&gt;echo "#   BDF ON XXXX#1   #" &amp;gt;&amp;gt; bdf_on_servers.txt&lt;BR /&gt;echo "#####################" &amp;gt;&amp;gt; bdf_on_servers.txt&lt;BR /&gt;echo "\n" &amp;gt;&amp;gt; bdf_on_servers.txt&lt;BR /&gt;echo "Filesystem          kbytes    used   avail %used Mounted on \n" &amp;gt;&amp;gt; bdf_on_servers.txt&lt;BR /&gt;bdf -l | grep  -e $THRESHHOLD -e $THRESHHOLD1 -e $THRESHHOLD2 -e $THRESHHOLD3 &amp;gt;&amp;gt; bdf_on_servers.txt&lt;BR /&gt;&lt;BR /&gt;# BDF ON SERVER XXXXX#2&lt;BR /&gt;echo "#####################" &amp;gt; bdf_on_servers.txt&lt;BR /&gt;echo "#   BDF ON XXXX#2   #" &amp;gt;&amp;gt; bdf_on_servers.txt&lt;BR /&gt;echo "#####################" &amp;gt;&amp;gt; bdf_on_servers.txt&lt;BR /&gt;echo "\n" &amp;gt;&amp;gt; bdf_on_servers.txt&lt;BR /&gt;echo "Filesystem          kbytes    used   avail %used Mounted on \n" &amp;gt;&amp;gt; bdf_on_servers.txt&lt;BR /&gt;remsh XXXXX#2 -n "bdf -l | grep -e $THRESHHOLD -e $THRESHHOLD1 -e $THRESHHOLD2 -e $THRESHHOLD3" &amp;gt;&amp;gt; bdf_on_servers.txt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ux2dos bdf_on_servers.txt | mailx -s "BDF on UNIX SERVERS" yongye@xxx.com&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# TOP ON SERVER XXXXX#1&lt;BR /&gt;echo "#####################" &amp;gt; top_on_servers.txt&lt;BR /&gt;echo "#   TOP ON XXXX#1   #" &amp;gt;&amp;gt; top_on_servers.txt&lt;BR /&gt;echo "#####################" &amp;gt;&amp;gt; top_on_servers.txt&lt;BR /&gt;top &amp;gt;&amp;gt; top_on_servers_tmp.txt&lt;BR /&gt;more top_on_servers_tmp.txt | grep Memory &amp;gt;&amp;gt; top_on_servers.txt&lt;BR /&gt;&lt;BR /&gt;ux2dos top_on_servers.txt | mailx -s "TOP on UNIX SERVERS" yongye@xxx.com&lt;BR /&gt;    &lt;BR /&gt;&lt;BR /&gt;Where XXXX#1 are yopur servers.&lt;BR /&gt;Regards, Ernesto.</description>
      <pubDate>Wed, 17 Aug 2005 08:32:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605582#M104214</guid>
      <dc:creator>Ernesto Cappello</dc:creator>
      <dc:date>2005-08-17T08:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring system performance</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605583#M104215</link>
      <description>You could create a shell script, more like applicaton. To do what you looking for, but its no small task. And since you have no scripting experience, the first thing you may want to do is get some shell books, or training. &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Aug 2005 08:33:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605583#M104215</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2005-08-17T08:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring system performance</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605584#M104216</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Look at the attached script. I hope it can do most of needed things.</description>
      <pubDate>Wed, 17 Aug 2005 08:57:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605584#M104216</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2005-08-17T08:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring system performance</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605585#M104217</link>
      <description>Hi Fridyev and Ernesto,&lt;BR /&gt;&lt;BR /&gt;Thank you very much for your help. I have already assigned point to you. The sample script really gives me a good start.&lt;BR /&gt;But I still wonder whether it is posible to get the function from shell script for auto send notification when threshold or error occured. Would you please give me more informaiton on this? Thanks.&lt;BR /&gt;&lt;BR /&gt;Hi Geoff Wild, For the security and cost reason, either free ware or biz software are not allowed to use on our system.Thanks.&lt;BR /&gt;&lt;BR /&gt;Hi Pedro Cirne and Marvin Strong, also thanks for your help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Yonyge</description>
      <pubDate>Wed, 17 Aug 2005 23:31:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605585#M104217</guid>
      <dc:creator>yongye_2</dc:creator>
      <dc:date>2005-08-17T23:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring system performance</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605586#M104218</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You could solve your problem by adding monitors request in SAM like for filesystems' usage.&lt;BR /&gt;&lt;BR /&gt;Resource Management&amp;gt;Event Monitoring Service&lt;BR /&gt;Actions&amp;gt;Add Monitoring Request...&lt;BR /&gt;choose in Resource Class system than filesystem, availMB. Than choose Resorce Instance like root, press OK. After you can set the monitorig parameters and the way how the notification would be sent.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Borislav</description>
      <pubDate>Thu, 18 Aug 2005 03:48:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605586#M104218</guid>
      <dc:creator>Borislav Perkov</dc:creator>
      <dc:date>2005-08-18T03:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring system performance</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605587#M104219</link>
      <description>Hi Borislav Perkov,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply. I think you are right. EMS is a good tools to monitor the system status. But many of its function is to monitor the target for up and down status. For performance monitoring it does little. I will consider it as the tools used in the event management.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;Yongye</description>
      <pubDate>Thu, 18 Aug 2005 04:10:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605587#M104219</guid>
      <dc:creator>yongye_2</dc:creator>
      <dc:date>2005-08-18T04:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring system performance</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605588#M104220</link>
      <description>Hi Yongye,&lt;BR /&gt;&lt;BR /&gt;AFAIK, the best and the simplest way to receive messages in case of some overloading is using of standard SNMP monitors (OV, CA, BigBrother, BigSister etc). Some of the are free e.g. Big Brother. But if you want to do this by yourself, you can analyze output of commands like sar or swapinfo.&lt;BR /&gt;&lt;BR /&gt;You can see a part of such a script below.&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/sar -d 60 1 &amp;gt; $TMF&lt;BR /&gt;TEST=$(cat $TMF | cut -c10-|&lt;BR /&gt;awk '/c0t8d0/||/c0t10d0/ {if($2&amp;gt;85)fl=1}&lt;BR /&gt;END {if(fl)print "GO"; else print "STOP"}')&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Thu, 18 Aug 2005 09:11:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605588#M104220</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2005-08-18T09:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring system performance</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605589#M104221</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Thanks for you all. &lt;BR /&gt;&lt;BR /&gt;Now I want to find out what value I should set as threshold on CPU usage, memory utilization, disk I/O utilization and swapping/paging? Is there any adviced value on them or any reference?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Yongye</description>
      <pubDate>Mon, 22 Aug 2005 01:52:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monitoring-system-performance/m-p/3605589#M104221</guid>
      <dc:creator>yongye_2</dc:creator>
      <dc:date>2005-08-22T01:52:25Z</dc:date>
    </item>
  </channel>
</rss>

