close

Find Particular Processes (take java program as an example) in Linux and Kill Them:

kill -9 `ps -ef | grep java | grep -v grep | awk '{print $2}'` > /dev/null 2>&1

or simply

pkill java

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 DanBrother 的頭像
    DanBrother

    DanBrother的部落格

    DanBrother 發表在 痞客邦 留言(0) 人氣()