linux常用命令
查看端口占用
lsof -i :80设置文件打开数
ulimit -n 10230sudo vi /etc/security/limits.conf* soft nofile 65536
* hard nofile 65536查看硬盘空间
du -h --max-depth=1 | sort -nLast updated
lsof -i :80ulimit -n 10230sudo vi /etc/security/limits.conf* soft nofile 65536
* hard nofile 65536du -h --max-depth=1 | sort -nLast updated