#!/bin/bash
pids=$(ps -ef | grep XXX| awk '{print $2}')
for pid in $pids
do
 echo  $pid
 kill -9  $pid
done

相关文章:

  • 2021-06-17
  • 2022-12-23
  • 2021-06-01
  • 2021-11-16
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
猜你喜欢
  • 2021-12-05
  • 2022-12-23
  • 2022-01-29
  • 2021-07-16
  • 2022-12-23
  • 2022-02-25
  • 2021-09-24
相关资源
相似解决方案