stop process l code example
Example 1: how to kill running process in linux
ps ux # list the running Process with PID
kill xxxx # hear xxxx is the process id
Example 2: kill process by name
#on a cluster #sbatch process
scancel -u username
ps ux # list the running Process with PID
kill xxxx # hear xxxx is the process id
#on a cluster #sbatch process
scancel -u username