linux 杀掉某用户的全部进程

ps -ef | grep ^oracle | cut -c 10-15 | xargs kill -9

参考cut的用法:http://blog.csdn.net/zsf8701/article/details/7718680

 

Leave a Comment

您的电子邮箱地址不会被公开。 必填项已用*标注