How to kill all process of a user via SSH

Sometimes you may need to kill all process of a particular user. This can be done using following SSH command.

pkill -u username

The above SSH command will all process by user username. Like if you want to kill all process by user ravi, change username to ravi.

ssh-pkill

You can also use killall command to kill all processes of a user.

killall -u username

Our Recommended Dedicated Server

Leave us a Reply

Your email address will not be published. Required fields are marked *

* *