View the most CPU-and memory-intensive processes under Linux

Source: Internet
Author: User
2012-11-19 15:38:04 Category: LINUX1. Top 10 CPU-intensive processes: PS Auxw|head-1;ps auxw|sort-rn-k3|head-10 2. The top 10 processes of memory consumption PS Auxw|head-1;ps auxw|sort-rn-k4|head-1 0 3. The top 10 processes for virtual memory use PS Auxw|head-1;ps auxw|sort-rn-k5|head-10 4. You can also try PS auxw--sort=rss PS auxw--sort=%cpu 5. Take a look at a few parameters including The memory occupancy rate of the%MEM process MAJFL is the major page fault count, the size of the virtual memory used by the VSZ process, the size of the resident set used by the RSS process, or the size of the actual RAM (RSS is the "resident set Siz E "meaning physical memory used) TTY associated with process terminal (TTY) serial port terminal (/DEV/TTYSN) pseudo terminal (/dev/pty/) control terminal (/dev/tty) console terminal (/dev/ttyn,/dev /console) virtual terminal (/dev/pts/n) STAT Check Status: The process state is represented by a character, such as R (running is running or ready to run), S (sleeping Sleep), I (Idle idle), Z (Zombie), D (non-disruptive sleep, Usually I/O), P (Waiting for a Swap page), W (Swap out, indicates the current page is not in memory), N (Low priority Task) T (terminate termination), W has no resident pages D non-interruptible uninterruptible sleep (usually IO) R is running, or the process in the queue S is in hibernation T stop or be traced Z Zombie process W enters memory swap (invalid starting from kernel 2.6) x dead Process <高优先级 n低优先级="" l有些页被锁进内存="" s包含子进程="" +位于后台的进程组;="" l多线程,克隆线程="" multi-threaded="" (using="" clone_thread,="" like="" nptl="" pthreads="">

View the most CPU-and memory-intensive processes under Linux

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.