上一页 1 ··· 96 97 98 99 100 101 102 103 104 ··· 203 下一页
摘要: 一,top的默认排序标准: 点击shift+f,会打开选择排序依据的界面,从这个界面可以看到,默认的排序标准是:%CPU 二,改变排序标准 1, 第一种方法: shift+f 在打开的界面中用上下左右箭头选择一个标准即可 2,快捷键 大写M:根据内存排序,默认从大到小,大写R更改为从小到大排序 大写 阅读全文
posted @ 2024-09-30 16:38 刘宏缔的架构森林 阅读(341) 评论(0) 推荐(0)
摘要: 一,配置redis.conf [root@web conf]# vi redis.conf 修改两个参数 # So for instance if you have a four cores boxes, try to use 2 or 3 I/O # threads, if you have a 阅读全文
posted @ 2024-09-30 16:12 刘宏缔的架构森林 阅读(451) 评论(0) 推荐(0)
摘要: 一,代码: opcache的各项参数设置效果怎么样?是否需要调整?我们需要了解一个opcache使用情况的统计,以供调整参数时处理 看php代码: <?php // 确保已经启用了Opcache if (extension_loaded('Zend OPcache') && function_exi 阅读全文
posted @ 2024-09-30 11:43 刘宏缔的架构森林 阅读(179) 评论(0) 推荐(0)
摘要: 一,列出所有监听中的端口 #-l: 仅显示处于监听状态的套接字#-n: 以数字格式显示地址和端口。使用此选项可以避免将地址和端口转换为主机名或服务名,从而加快查询速度#-t: 仅显示TCP套接字信息#-p: 显示与每个套接字相关联的进程信息,包括进程ID和进程名称 ss -lntp 二,查看所有状态 阅读全文
posted @ 2024-09-29 19:12 刘宏缔的架构森林 阅读(251) 评论(0) 推荐(0)
摘要: 一,客户端浏览器报错: nginx 503 Service Temporarily Unavailable 问题的原因: http下: limit_req_zone $binary_remote_addr zone=peripreq:20m rate=10r/s; 此server下: limit_r 阅读全文
posted @ 2024-09-29 16:40 刘宏缔的架构森林 阅读(688) 评论(0) 推荐(1)
摘要: 一,问题现象: firewalld未重新加载规则前,可以看到fail2ban添加的防火墙规则: [root@web ~]# firewall-cmd --list-all public (active) target: default icmp-block-inversion: no interfa 阅读全文
posted @ 2024-09-29 11:08 刘宏缔的架构森林 阅读(181) 评论(0) 推荐(0)
摘要: 一,使用ip命令: 命令: ip -s link -s[tatistics] : 统计 [root@web mysql]# ip -s link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFA 阅读全文
posted @ 2024-09-28 17:44 刘宏缔的架构森林 阅读(542) 评论(0) 推荐(0)
摘要: 一,删除所有别名 #!/bin/bash # Elasticsearch 地址 ES_HOST="http://localhost:9200" content=$(curl -s -X GET "$ES_HOST/_alias/*") # echo $content # 获取所有alias inde 阅读全文
posted @ 2024-09-27 14:32 刘宏缔的架构森林 阅读(198) 评论(0) 推荐(0)
摘要: 一,报错信息: Next Illuminate\\Contracts\\Container\\BindingResolutionException: Target class [view] does not exist. in /web/api/vendor/laravel/framework/sr 阅读全文
posted @ 2024-09-26 15:53 刘宏缔的架构森林 阅读(426) 评论(0) 推荐(0)
摘要: 一,问题现象: 1,一台新服务器上安装了snoopy之后,发现一个问题,它只能记录root的操作命令,其他用户的操作命令完全记录不下来 2,查看配置: [root@backup ~]# snoopyctl conf ; Options from config file (or defaults): 阅读全文
posted @ 2024-09-26 14:04 刘宏缔的架构森林 阅读(66) 评论(0) 推荐(0)
上一页 1 ··· 96 97 98 99 100 101 102 103 104 ··· 203 下一页