Linux - Kill logout a user, Kill process owned by a user
Kill logout a user
kill porcess belong to a user using PKILL commandThe pkill command is used to kill all the process belongs to a particular user. Consider that some user is consuming more cpu resource and as a system admin you want to stop the user from consuming more CPU resource and make him to quit or logut. In such occations you can use pkill command to kill a user and drag him out.
To halt or stop a user called math, try:
# pkill -STOP -u math
To resume a user called math, type:
# pkill -CONT -u math
To kill all php-cgi process owned by math user, enter:
# pkill -KILL -u math php-cgi
The topic on Linux - Kill logout a user is posted by - Math
Hope you have enjoyed, Linux - Kill logout a userThanks for your time