当前位置:网站首页>AIX system monthly maintenance check (I)

AIX system monthly maintenance check (I)

2022-06-23 23:15:00 Jinling shopkeeper

restudy old materials :

        Before that 《AIX System commands for viewing system information 》 This article gives you a simple list of AIX Common query commands in the system , Today I want to tell you about AIX What should be checked for the monthly maintenance of the system , It is convenient for us to manage the system skillfully .

know sth. new :

System level

  1. Log check alarm ——errpt command , Check whether an error is reported ;
  2. Check to see if there is mail ——/var/spool/mail, Yes mail Describe a user's cron An error occurred during the execution of the script , Or the system has an alarm , If a user appears repeatedly mail, And it's the same problem , Think about cron Whether the script is effective ;
  3. Check time ——date command , Time matters , It involves database synchronization ;
  4. check CPU Usage rate ——sar -u 10 6  ( Parameters can be changed ), Lower %idle explain CPU The load is very high
    Higher %wio This indicates that the disk is waiting for a long time ;
  5. Check each one CPU The load of ——mpstat 10 6(topas -L), If a certain CPU Of id The value is much larger than the others CPU Of id value , It indicates that the system is abnormal ;
  6. Check the memory status ——vmstat 1 3 ( Parameters can be changed ), Pay attention to memory surplus and utilization ;
  7. Check page feed space usage ——lsps command , The general utilization rate shall not exceed 10%, exceed 30% It will be very dangerous .

Disk hierarchy

  1. Monitoring disk (I/O) condition ——sar -d 10 10 ( Parameters can be changed ), Higher %busy and avque It means that the disk I/O bottleneck ;
  2. Identify each disk (I/O) bottleneck ——iostat -d device1  device2 … 10 10,Kps Number of bytes transferred per second
    tps Number of transfers per second ,servs Average service time ;
  3. Identify each disk (I/O) Read / write status ——iostat -D device1  device2 … 10 10;
  4. Determine the status of each file system ——df -g, Generally not more than 80% that will do .

Network level

  1. Monitor the current system network card status ——ifconfig  -a, Check whether the network address is normal ;
  2. Output ARP surface ——arp  -a;
  3. Output routing table ——netstat -nr, Check for missing routes ;
  4. Output IP Address allocation ——netstat -in , You can check whether the system has experienced network card address switching .

summary :

        You can basically master the operation of the system through the above contents , Of course, a complete monthly maintenance report also needs relevant information about the software and hardware of the system , For example, the version of important software installed in the system 、 Hardware ( machine ) Location of the machine room, etc . Today's time is limited , The next article will tell you how to check the database in monthly maintenance .

原网站

版权声明
本文为[Jinling shopkeeper]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/174/202206231926355472.html