Skip to content

Instantly share code, notes, and snippets.

@turugina
Created November 5, 2010 06:54
Show Gist options
  • Save turugina/663754 to your computer and use it in GitHub Desktop.
Save turugina/663754 to your computer and use it in GitHub Desktop.
ps x -o pid,cmd| perl -anle 'BEGIN{chomp($i=`date --date "5 hour ago" +%Y%m%d%H%M%S`)} $_=$F[3]; print $F[0] if defined and /\d{14}/ and $_ lt $i'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment