In linux, you can view up to 10 processes that occupy the most CPU resources in linux. you can use the following command combination: psaux | head-1; psaux | grep-vPID | sort-rn-k + 3 | obtain the top 10 processes that occupy the most memory resources in headlinux... in linux, you can view up to 10 processes that occupy the most CPU resources in linux. you can use the following command combination: ps aux | head-1; ps aux | grep-v PID | sort-rn-k + 3 | 10 processes that occupy the most memory resources in head linux, which can be combined with the following command: ps aux | head-1; ps aux | grep-v PID | sort-rn-k + 4 | head command combination parsing (for CPU, MEN also make sense ): ps aux | head-1; ps aux | grep-v PID | sort-rn-k + 3 | the command combination of head is actually the following two commands: ps aux | head-1 ps aux | grep-v PID | sort-rn-k + 3 | head
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