Linux System load Status check script

Source: Internet
Author: User

to facilitate the analysis of the problem, a Linux stateful inspection script was written, and the script could be placed in any directory, and the script would output log records to the current directory after it was executed. The direct execution script can be used for one-time detection and can be analyzed through logs. If long monitoring is required, the-x parameter can be executed, and the script automatically increments the scheduled task and outputs the log to the/tmp directory. If you need to delete a scheduled task, you can execute the-XX parameter.

#How to use:
#Example:./ Check mechanism:
#1, detect internal and external network IP, mask
#2, detecting Gateway routing settings
#3, detection DNS settings, domain name resolution
#4, check the amount of disk space used
#5, check the boot mount file
#6, check cpu| memory load condition
#-x (optional): Increased scheduled tasks for monitoring server status
#-xx (optional): Delete Scheduled Tasks

Execution Result:[email protected] shell]#./
To increase scheduled tasks and delete scheduled tasks:

Linux System load Status check script

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.