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 > Development >
Share
Shulou(Shulou.com)06/01 Report--
Linux system htop is the correct use of what is, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.
Specific usage of htop in Linux system
Htop common function keys
F1: view htop instructions F2: set F3: search process F4: filter, search by keyword F5: display tree structure F6: select sorting method F7: reduce the nice value, so that you can increase the priority of the corresponding process F8: increase the nice value. This reduces the priority of the corresponding process F9: kill the selected process F10: exit htop /: search character h: display help l: show files opened by the process: if lsof is installed, press this key to display the files opened by the process u: show all users And can select a specific user's process s: the system call that will call strace to track the process t: show tree structure H: show / hide user threads I: reverse sort order K: show / hide kernel threads M: sort by memory footprint P: sort by CPU T: sort by run time up and down keys or PgUP PgDn: move the key around the selected process or Home, End: move the list Space (space): Mark / unmark a process. The command can be applied to multiple processes, such as "kill", and will be applied to all marked processes that htop uses
Run htop directly, as shown in the figure:
The upper left corner shows the usage of CPU, memory and swap area, while the right shows the task, load and boot time. Below is the real-time status of the process. The last line is the F1~F10 function menu and the corresponding letter shortcuts.
Press F1 and help instructions are displayed:
To set up, press F2:
If you want to add a display entry here, press F5 or F6 to add to the left or right above, F9 can be removed, and so on. Each entry supports four display modes: Text, Bar, Graph, and LED. Note that these four effects are shown in the upper right corner.
Other operations are basically the same as setting BIOS under Windows, and mouse operations are supported here.
To display the tree structure of the process, type "t" or press F5, which is similar to the pstree command.
Note that many of the operations here can also be done with the mouse. You don't have to know, a few more times and you'll find something new.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
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.