Skip to content

Instantly share code, notes, and snippets.

@alex-endfinger
Created November 6, 2011 03:19
Show Gist options
  • Save alex-endfinger/1342416 to your computer and use it in GitHub Desktop.
Save alex-endfinger/1342416 to your computer and use it in GitHub Desktop.
#!/bin/bash
function printstatus {
clear
ps auxww |grep " dd " |grep -v grep |awk '{print $2}' |while read pid; do kill -USR1 $pid; done
sleep 5
printstatus
}
printstatus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment