时间都是 XX:02,优先检查 schedule 定时 job,即使你没有手动配置,部分版本 EAA/RTM、内置日志归档任务会在固定时间执行:
display scheduler schedule
display scheduler job
display scheduler logfile
S5130-HI 自带diagnostic troubleshooting,当 CPU 超过阈值时设备自动记录当时 top 进程,不需要人在场,这个是本次最关键配置。
system-view
#开启CPU高占用自动诊断捕获,默认一般开启,确认一遍
diagnostic troubleshooting test cpu high-ratio enable
#阈值建议90,触发时自动保存故障时刻进程信息
diagnostic troubleshooting test cpu high-ratio threshold 90
当 CPU 超过阈值,设备自动保存该时刻 CPU 进程快照。故障过后白天登录查看:
display diagnostic troubleshooting test cpu high-ratio result
输出里直接列出CPU100% 瞬间占用最高的进程名称,直接定位根因(如 log、rmon、snmp、rtm 等)。
display cpu-usage history slot 1
看历史曲线,确认每次冲高是不是持续很短(瞬时冲高,几分钟回落)。
Zabbix 是 SNMP 轮询采样,抓到瞬时 100%,实际可能只持续几十秒,普通 logbuffer 不会写告警日志。
display info-center
display logbuffer summary
验证:临时关闭 logfile 保存测试(业务窗口)
info-center logfile disable
观察夜间是否还会 CPU 冲高。
display rmon history
display rmon statistics
临时 undo rmon 相关配置观察。
验证:临时降低 zabbix 轮询间隔,或临时停止该设备监控,观察夜间是否还触发。
display irf
display mad
#查看当前CPU进程(非故障时看基线)
display process cpu slot 1
#查看flash存储空间,flash满会造成写日志卡死CPU
display flash:
#查看info-center日志缓冲区
display logbuffer reverse
#查看EAA/RTM事件策略(事件自动化脚本)
display rtm policy
diagnostic troubleshooting test cpu high-ratio,等待夜间触发;display diagnostic troubleshooting test cpu high-ratio result,看故障瞬间的进程;
log/logfile:日志归档任务;rmon:RMON 统计;
固定整点 02 分周期性 CPU 冲高,优先开启diagnostic troubleshooting test cpu high-ratio,设备自动捕获故障时刻进程,不用人半夜采集;大概率是 logfile 归档、RMON 统计或老版本软件 bug;查看 scheduler 确认有无定时任务,故障后用display diagnostic troubleshooting test cpu high-ratio result定位占用 CPU 的进程。
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
job任务,可以看下官网手册