kill 多个进程的脚本
2024-10-21 09:21:26
杀死多个进程的脚本
#!/bin/bash
pids=$(ps -ef | grep warehouse |awk '{print $2}')
for pid in $pids
do
echo $pid
kill -9 $pid
done
最新文章
- java web系统中时间比sql server中的日期少2天的解决办法
- 使用nuget打包类库并发布
- HTTP协议---HTTP请求中的常用请求字段和HTTP的响应状态码及响应头
- CentOS 下实现两台服务器之间的共享NFS
- centos 解压rar文件
- lightoj 1022
- MHA手动切换 原创2 (主参与复制)
- max_connections 与 max_used_connections --ERROR 1040: Too many connections
- hdu-3046-Pleasant sheep and big big wolf(最大流最小割)
- BZOJ 3223 Tyvj 1729 文艺平衡树(Splay)
- Android基础_Service
- spiflash
- js动态添加、删除行
- mysql中的concat函数,concat_ws函数,concat_group函数之间的区别
- 2019浙江省赛K zoj4110 Strings in the Pocket(manachar)
- canvas绘画基础(一):认识canvas画布
- 【转载】Direct3D HLSL介绍(上)
- ios MBProgressHUD 使用,及二次封装
- string 字符串--------redis
- 认识React框架