Kill all jMeter (or any processes) executions
ps -ef | grep jmeter | awk '{print $2}' | xargs kill -9
This can be applied to any other processes running to. Just replace grep jmeter
to grep your-process-name
Stop a service running on a specified port
netstat -vanp tcp | grep <port> | awk '{print $9}' | xargs kill -9
Remove docker images according to a pattern
docker images -a | grep <pattern> | awk '{print $3}' | xargs docker rmi -f
Top comments (0)