#!/bin/bash
source $HOME/.gamerc

for pid in $(ps -ef | egrep 'SCREEN -S' | egrep 'perf top -p' | grep -v grep | awk -F" " '{print $2}'); do
	sudo kill -15 ${pid}
done

for pid in $(ps -ef | egrep 'create_screen_snapshot' | grep -v grep | awk -F" " '{print $2}'); do
	sudo kill -15 ${pid}
done
