#!/bin/bash

# from https://www.cygwin.com/ml/cygwin/2002-04/msg01053.html

ps -ea | grep $1 | gawk '$1 ~ /^[^SI]/ { system("kill -9 " $1); }'
