#!/bin/sh pid=`ps aux | grep Crashdump | awk 'NR==1{print $2}'` kill $pid Crashdump --dump-now