The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

kill all process owned by a user

Discussion in 'General Discussion' started by mahdionline, Jan 3, 2005.

  1. mahdionline

    mahdionline Well-Known Member

    Joined:
    Oct 18, 2003
    Messages:
    127
    Likes Received:
    0
    Trophy Points:
    16
    Hi

    how can i kill all process owned by a user such as no body ? :confused:

    I try to do this via WHM, but it donot work.

    Regard
     
  2. Alexandre Duran

    Alexandre Duran Well-Known Member

    Joined:
    May 6, 2003
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Rio de Janeiro - BRAZIL
    kill -9 `ps -aux | grep USERNAMEHERE | grep -v grep | grep -v csh | cut -c9-15`
     
Loading...

Share This Page