how to kill a process by name code example
Example 1: kill a process with pid
kill -9 PID # kill -9 94228
Example 2: kill process by name
#on a cluster #sbatch process
scancel -u username
kill -9 PID # kill -9 94228
#on a cluster #sbatch process
scancel -u username