<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,8 +5,8 @@ class ProcessUsage &lt; Scout::Plugin
     if @options[&quot;command_name&quot;].nil? or @options[&quot;command_name&quot;] == &quot;&quot;
       return error(&quot;Please specify the name of the process you want to monitor.&quot;)
     end
-    ps_command   = @options[&quot;ps_command&quot;] || &quot;ps axucww&quot;
-    ps_regex     = (@options[&quot;ps_regex&quot;] || &quot;(?i:COMMAND\\s+$)&quot;).to_s.
+    ps_command   = @options[&quot;ps_command&quot;] || &quot;ps auxww&quot;
+    ps_regex     = (@options[&quot;ps_regex&quot;] || &quot;(?i:\\bCOMMAND\\b)&quot;).to_s.
                    gsub(&quot;COMMAND&quot;, Regexp.escape(@options[&quot;command_name&quot;]))
     begin
       ps_output    = `#{ps_command}`</diff>
      <filename>process_memory/process_usage.rb</filename>
    </modified>
    <modified>
      <diff>@@ -6,11 +6,11 @@ options:
   ps_command:
     name: The Process Status (ps) Command
     notes: The command with options. The default works on most systems.
-    default: ps axucww
+    default: ps auxww
   ps_regex:
     name: The regex used to match a command name.
-    notes: &quot;By default, this matches a command with options at the end of a line.  The word COMMAND get's replaced with the command you gave (regex escaped).  You may wish to try the following pattern if you have trouble matching dynamic options:  (?i:\\bCOMMAND\\b)&quot;
-    default: &quot;(?i:COMMAND\\s+$)&quot;
+    notes: &quot;By default, this matches a command name anywhere in the ps output line.  The word COMMAND get's replaced with the command you gave (regex escaped).  You may wish to try the following pattern if you only want to match a command in the last column:  (?i:COMMAND\\s+$)&quot;
+    default: &quot;(?i:\\bCOMMAND\\b)&quot;
     
 metadata:
   memory:          </diff>
      <filename>process_memory/process_usage.yml</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>dcb85d8f9f6b16afb78284c8611feeaf1566b471</id>
    </parent>
  </parents>
  <author>
    <name>James Edward Gray II</name>
    <email>james@graysoftinc.com</email>
  </author>
  <url>http://github.com/highgroove/scout-plugins/commit/da4372c1de90af546bc59a02121ff253f6daa252</url>
  <id>da4372c1de90af546bc59a02121ff253f6daa252</id>
  <committed-date>2009-05-27T06:34:56-07:00</committed-date>
  <authored-date>2009-05-27T06:34:56-07:00</authored-date>
  <message>Swapping out the default ps command for something more reliable.</message>
  <tree>f5658a56fa41ea53a3e29a5f06e2e892f1c8730f</tree>
  <committer>
    <name>James Edward Gray II</name>
    <email>james@graysoftinc.com</email>
  </committer>
</commit>
