kill all process of a user code example
Example 1: kill all processes by user
killall -u user
Example 2: kill all process at port
lsof -ti tcp:2525 | xargs kill
Example 3: kill all process
killall node -9
Example 4: linux kill process by user
pkill -9 -u `id -u username`