Linux Server monitors loading hardware information in real time

Source: Internet
Author: User
Article Title: Linux Server monitors and loads hardware information in real time. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Linux Server monitoring: real-time monitoring of loading hardware information

One of the notable features of Linux is its extraordinary stability. However, if your hardware is defective or configured incorrectly, even the most stable operating system in the world will not help you. Computer systems are composed of hardware systems of software systems. It is very important to check the hardware status to ensure the stability of the entire system. Whether the operating system is Linux or Windows, once the hardware fails, the overall system security will be serious. Here we mainly monitor the hardware.

I. Implementation principle of Hardware Monitoring

Let's take a look at the content in the/proc directory under the Linux root directory. The content of each Linux system varies depending on the hardware and software. The/proc virtual file system has three important directories: net, scsi, and sys. The Sys directory is writable and can be used to access or modify kernel parameters. net and scsi depend on Kernel configuration. For example, if the system does not support scsi, the scsi directory does not exist. In addition to the above descriptions, there are also some directories named by numbers, which are process directories. The. net directory contains multiple Network pseudo files in ASCII format, which describe part of the network layer. You can use commands such as arp, netstat, and route to query these files. In addition to the above descriptions, there are also some directories named by numbers, which are process directories. Each process currently running in the system has a corresponding directory under/proc, with the process PID as the directory name. They are interfaces for reading process information. The self directory is an interface for reading information about the process itself and a link ). The name of the Proc file system starts from.

The main file content in the/proc directory is shown in table-1:

 

 

[1] [2] [3] Next page

Related Article

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: info-contact@alibabacloud.com 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.