1、#kill -9 $(ps -ef|grep 进程名关键字|gawk ‘$0 !~/grep/ {print $2}’ |tr -s ‘\n’ ‘ ‘)这个是利用管道和替换将 进程名对应的进程号提出来作为kill的参数。
很显然上面的方法能完成但是过于复杂,下面这种就显得简单的多了
2、#kill -9 $(pidof 进程名关键字)
月度归档: 2017年12月
oracle tips
函数 过程 表名 trigger保持大写,否则默认大小写敏感找不到对象
sqlplus username/pass@//172.31.xxx.xxx:1521/ORCL
sql server收缩数据库和日志
解决npm报错Error: EACCES: permission denied
sudo npm install -g xxxxx –unsafe-perm=true –allow-root