杀死多个进程的脚本

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

最新文章

  1. java web系统中时间比sql server中的日期少2天的解决办法
  2. 使用nuget打包类库并发布
  3. HTTP协议---HTTP请求中的常用请求字段和HTTP的响应状态码及响应头
  4. CentOS 下实现两台服务器之间的共享NFS
  5. centos 解压rar文件
  6. lightoj 1022
  7. MHA手动切换 原创2 (主参与复制)
  8. max_connections 与 max_used_connections --ERROR 1040: Too many connections
  9. hdu-3046-Pleasant sheep and big big wolf(最大流最小割)
  10. BZOJ 3223 Tyvj 1729 文艺平衡树(Splay)
  11. Android基础_Service
  12. spiflash
  13. js动态添加、删除行
  14. mysql中的concat函数,concat_ws函数,concat_group函数之间的区别
  15. 2019浙江省赛K zoj4110 Strings in the Pocket(manachar)
  16. canvas绘画基础(一):认识canvas画布
  17. 【转载】Direct3D HLSL介绍(上)
  18. ios MBProgressHUD 使用,及二次封装
  19. string 字符串--------redis
  20. 认识React框架

热门文章

  1. 通过docker 安装部署sentry
  2. SAP SMARTFORMS World格式白屏
  3. 微信小程序JS
  4. WPF标题栏自定义
  5. Python安装第三库超时的解决方法
  6. http协议与tcp协议的理解
  7. Clion在一个cmake项目中运行多个main函数
  8. redis 0: "AUTH <password> called without any password configured for the def
  9. git仓库搭建及免密使用
  10. 如何理解Vue中的组件?