This document describes how to kill all unix processes related to one user with single command.
Some times we have to kill all the processes related to one unix user. It is a time consuming process if we find the PID of each process to kill it. Instead of each unix process to kill, we can kill all the unix processes of a particular user with single command. It saves our time.
Please use below command to find PIDs and kill the processes.
ps auxww | grep applprod | awk '{print $2}' | xargs kill
Thanks for going through the post......................
No comments:
Post a Comment