Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does the Linux system view the processes that consume the most cpu memory

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This "Linux system how to view the most cpu memory-consuming processes" article, the article sample code is introduced in great detail, with a certain reference value, interested friends must refer to, for the "Linux system how to view the most cpu memory-consuming processes", Xiaobian sorted out the following knowledge points, please follow the pace of the editor step by step slowly understand, then let us enter the topic.

Top 10 processes occupied by 1.CPU ps auxw | head-1 switch PS auxw | sort-rn-K3 | head-10

two。 Ps auxw of the top 10 processes with the most memory consumption | head-1 switch PS auxw | sort-rn-K4 | head-10

3. Ps auxw of the top 10 processes with the most virtual memory usage | head-1 control PS auxw | sort-rn-K5 | head-10

4. You can also try ps auxw-sort=rss ps auxw-sort=%cpu5. Take a look at the meaning of several parameters.% memory usage of the MEM process

MAJFL is the major page fault count

The size of virtual memory used by the VSZ process

The size of the resident set or the actual memory used by the RSS process (RSS is the "resident set size" meaning physical memory used)

TTY the terminal associated with the process (tty)

What are the versions of Linux? the versions of Linux are Deepin, UbuntuKylin, Manjaro, LinuxMint, Ubuntu and so on. Among them, Deepin is one of the best-developed Linux distributions in China; UbuntuKylin is a derivative release based on Ubuntu; Manjaro is a Linux release based on Arch; LinuxMint's default Cinnamon desktop is similar to Windows XP's easy-to-use; Ubuntu is the Linux operating system based on desktop applications.

These are all the contents of the article "how Linux systems view the processes that consume the most cpu memory". 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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report