In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "what files are there in the proc directory under the Linux system". In the operation of the actual case, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
/ proc/devices file
This file lists the primary device numbers for character and block devices, as well as the device names assigned to these device numbers.
The common command is # cat / proc/devices (this is useful when debugging the driver, you can check whether the driver module is loaded through lsmod)
/ proc/interrupts
Each line of this file has a reserved break. The fields in each line are: the interrupt number, the number of interrupts on this line, the field that may have a plus sign (SA_INTERRUPT flag setting), and the name of the driver that registered the interrupt. You can manually view this file at hand with the cat command like / proc/dma and / proc/ioports before installing the new hardware. These files list the resources currently in use (but not those used by hardware that do not have drivers loaded).
The common command is # cat / proc/interrupts
/ proc/ioports file
This file lists many of the port ranges registered by a variety of device drivers, such as disk drives, Ethernet cards, and sound card devices.
The common command is # cat / proc/ioports
/ proc/kmsg file
This file is used to retrieve kernel messages generated with printk. Only one process with superuser privileges can read this file at any one time. You can also retrieve these messages with the system call syslog. These messages are typically retrieved using the tool dmesg or the daemon klogd.
/ proc/ksyms file
This file lists registered kernel symbols; these symbols give the address of a variable or function. Each line gives the address of a symbol, the name of the symbol, and the module that registers the symbol. Programs ksyms,insmod and kmod use this file. It also lists the number of running tasks, the total number of tasks, and the last assigned PID.
This is the end of the content of "what are the files in the proc directory under the Linux system"? thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.