title: Can one do date math with ps output?
body: <p>if i run this command </p>
  
  <pre><code>ps aux | grep -ie ff1 | awk '{print $2 , $9 , $(NF-0)}'
  </code></pre>
  
  <p>i get this result:</p>
  
  <pre class="lang-none prettyprint-override"><code>7019 12:33 /var/www/html/tv1/video1.m3u8
  13374 17:13 /var/www/html/tv1/asdas.m3u8
  15001 05:58 /var/www/html/tv1/dfwef.m3u8
  15021 05:58 /var/www/html/tv1/werwe.m3u8
  15200 11:45 /var/www/html/tv1/2fsdfsf.m3u8
  </code></pre>
  
  <p>so second word in each line is  time  when process started
  so is there a way i can calculate that time with  </p>
  
  <pre><code>date +%H:%M   - awk '{print $9}' 
  </code></pre>
  
  <p>so i can know how much time each proccess it was running</p>
  
  <hr>
  
  <p><strong>i want a result like this:</strong></p>
  
  <pre class="lang-none prettyprint-override"><code>02:20 7019 12:33 /var/www/html/tv1/video1.m3u8
  </code></pre>
  
  <p>(it means proccess 7019 that starts on 12:33 has been running for 2hours and 20 minutes)</p>