#!/bin/bash # # send a SIGQUIT to all the pings currently running, causing them to # dump their statistics # for each in `ps aux | grep " ping " | grep -v grep | awk '{print $2}'`; do kill -QUIT $each; done;