Linux Small Knowledge Translation-"/proc folder"

Source: Internet
Author: User

This time talk about the "/proc folder.

The/proc folder is a special folder that is used to keep files related to the state of the system, and the files in this folder are only virtual files on memory.

Some files under the/proc folder can reflect the running state of each process. So it's a very important folder to decide which Linux to run.

With this folder, you can get a wide variety of information. For example, try typing "cat/proc/cpuinfo" at the command line. Information about the CPU can be obtained.

Other information can also be obtained from memory information, drive information, and other hardware and software aspects.

Therefore, modify the file under the/proc folder to adjust the state of the system. For example, when using iptables to route, the values in the/proc/sys/net/ipv4/ip_forward file are changed.

However, modifying the content under the/proc folder requires a high level of knowledge. Understand the words will feel to modify the/proc file is very convenient, conversely, the wrong modification may cause the system to be destroyed.

If you change the content of the smattering, still do not modify the good.

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.