kill process of user code example
Example 1: kill all processes by user
killall -u user
Example 2: how to kill process by command bu username
#on a cluster #sbatch process
scancel -u username
killall -u user
#on a cluster #sbatch process
scancel -u username