title: Grep count of processes running more than x minutes
body: <p>My goal is to grep for a count of processes older than 'x' minutes in bash.</p>
  
  <p>So far, I can grep for all the process execution times:</p>
  
  <p><code>ps -eo etime,cmd | grep mysuperspecialprocess.sh | grep -Ev 'grep' | awk '{print $1}'</code></p>
  
  <p>I pipe a <code>wc -l</code> to get a count at the end.</p>
  
  <p>How can I grep or loop through the result to restrict it to processes older than a certain number of minutes?</p>