Centos
条评论kill一组进程
1 | ps -ef|grep python|grep -v grep|cut -c 9-16|xargs kill -15 |
默认编码
报错:
1 | WARNING! The remote SSH server rejected X11 forwarding request. |
解决:
1 | localedef -i en_US -f UTF-8 en_US.UTF-8 |
进程数不够
非root用户登录报:
1 | /bin/bash: Resource temporarily unavailable。 |
用root修改/etc/security/limits.d/20-nproc.conf,将4096改成65536
- 本文链接:https://www.ofcoder.com/2021/01/20/centos/Centos/
- 版权声明:Copyright © 并发笔记 - ofcoder.com. Author by far.
分享