centos系统基本信息

####################

系统版本:

cat /etc/redhat-release

cat /etc/issue

机器型号:dmidecode | grep "Product Name"

硬盘:df -h

目录使用率高于百分之80的标记为异常需要处理

内存:  free -h

1、 内存使用率超过百分之80的标记为异常需要处理

2、  swap使用超率超过百分之10为异常需要处理

 

CPU:  # cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c

# cat /proc/cpuinfo | grep physical | uniq -c

负载:通过grafana查看最近一周数据判断负载是否正常

网络:ifconfig

检查eth0状态:ethtool eth0

查看网卡状态:RUNNING ,否则异常;如果返回值中speed不是2000Mb每秒或者Duplex: 不是full,需对网络问题进行排查。

1. 主要看流量是否超过带宽的80%

2. eth0中是否有网卡掉线

检查虚拟IP:ip add|grep  inet

 

 

 

 

 

 

 

 

 

 

 

 

########################

posted @ 2023-04-14 16:57  igoodful  阅读(19)  评论(0编辑  收藏  举报