title: ps command and etime
body: <p>I'm trying to get all ruby process running on my server that are alive for more than 24 hours.</p>
  
  <p>With PS i can get this:</p>
  
  <pre><code>ps -eo pid,etime,cmd | grep .rb | grep -v grep | awk '{print $1, $2}'
  </code></pre>
  
  <p>The output:</p>
  
  <pre><code>PID   ELAPSED
  23484 07:54:41
  23493 07:54:41
  23504 07:54:41
  23515 07:54:41
  23535 07:54:40
  23548 07:54:40
  23670 07:54:37
  31671 3-07:54:49
  31807 3-07:54:48
  31832 3-07:54:48
  32308 3-07:54:40
  32318 3-07:54:40
  32331 3-07:54:40
  </code></pre>
  
  <p>In this case, 6 process are running for more than 24h.</p>
  
  <p>So, how can I filter this column to get only what I need?</p>
  
  <p>My idea was to use awk, something like</p>
  
  <pre><code>awk '$2 &gt; XXXX'
  </code></pre>
  
  <p>But I don't know what is the unit of the elapsed column.</p>