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/02 Report--
Editor to share with you the use of linux procinfo command to display the status of the system, I believe that most people do not know much, so share this article for you to learn, I hope you will learn a lot after reading this article, let's go to learn the method!
The proc file system is a virtual file system that contains files that store information about processes and other system information. It is mapped to the / proc directory and mounted at startup. Many programs retrieve information from the / proc file system, process it, and provide it for a variety of purposes.
Procinfo is a simple command-line utility for viewing system information collected from the / proc directory and printing a nice format on standard output devices.
Syntax format: procinfo [parameters]
Common parameters:
-a displays all information-b displays the number of blocks of the disk device, not the number of accesses-d shows the difference between the changes in the system information per second, rather than the sum of the values. Must be used with the "- f" parameter-D this parameter effect is similar to specifying the "- d" parameter, but the information of the memory and swap file is the sum value-f enters the full-screen interactive interface-F outputs the information state to the file to save-I display the complete IRP list-m display system modules and peripherals and other related information-n sets the information update speed of the full-screen interactive mode The memory, disk space, IRP and DMA of the system are displayed in seconds. This is the default value-S with the parameter "- d" or "- D". The information is updated every second-H memory information is converted into readable (KB, MB, GB) format units-v to display version information.
Reference example
Displays the system status:
[root@linuxcool ~] # procinfo
Display statistics on a per second basis instead of by total value:
[root@linuxcool] # procinfo-d-f
Display statistics as totals:
[root@linuxcool ~] # procinfo-D above is all the contents of displaying the system status using the procinfo command of linux. Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.