리눅스

리눅스 특정 사용자 프로세스 모두 종료(kill)하는 법

coinAA 2022. 10. 10.

 

목차

     

    리눅스 특정 사용자 프로세스 확인

     # ps -ef | grep [유저명]
     ps -ef | grep testuser1

     

     

    리눅스 특정 사용자 프로세스 모두 종료(kill)하기

    #kill -KILL `lsof -t -u [유저명]`
    kill -KILL `lsof -t -u testuser1`

    kill -KILL `lsof -t -u testuser1`

     

    댓글