1. 查看系统服务进程 ps aux
  2. 指定进程查看 ps -ef | grep jar,ps -aux|grep sendmail
  3. 查看内存使用情况 free -m
  4. 清除使用缓存
    1. echo 1 > /proc/sys/vm/drop_caches
    2. `echo 2 > /proc/sys/vm/drop_caches
    3. echo 3 > /proc/sys/vm/drop_caches
  5. linux关闭防火墙
      systemctl stop firewalld.service #停止firewall
      systemctl disable firewalld.service #禁止firewall开机启动
      firewall-cmd --state #查看默认防火墙状态(关闭后显示notrunning,开启后显示running)
  1. netstat -anp|grep 21001(查看端口在被哪个进程使用)
Copyright & copy lviter@163.com            updated 2024-02-06 09:54:55

results matching ""

    No results matching ""