Check the usage of server resources

Source: Internet
Author: User
For more information about how to view server resources-Linux Enterprise applications-Linux server applications, see the following. The following figure shows the result of using TOP to check whether the CPU and memory of the server are too tight. The one who just came into touch with LINUX

Top-10:43:10 up 15 days, 1 user, load average: 7.44, 5.57, 3.40
Task: 152 total, 2 running, 150 sleeping, 0 stopped, 0 zombie
Cpu (s): 20.6% us, 8.6% sy, 0.0% ni, 23.0% id, 47.2% wa, 0.1% hi, 0.5% si, 0.0% st
Mem: 2061672 k total, 1983916 k used, 77756 k free, 10220 k buffers
Swap: 2047992 k total, 9696 k used, 2038296 k free, 1652112 k cached

Pid user pr ni virt res shr s % CPU % mem time + COMMAND
11404 mysql 20 0 152 m 25 m 3396 S 60.2 1.3: 01 mysqld
12728 apache 20 0 37608 11 m 4928 S 4.0. 32 httpd
30050 apache 20 0 37608 10 m 4784 S 4.0 0.5. 21 httpd
17759 apache 20 0 37608 10 m 4840 S 3.6. 47 httpd
13529 apache 20 0 37608 11 m 4884 S 3.3. 74 httpd
15748 apache 20 0 37608 11 m 4900 S 3.0 0: 20. 87 httpd
23075 apache 20 0 37608 10 m 4928 S 3.0 0.5. 54 httpd
6168 apache 20 0 37608 11 m 4948 S 2.6 0: 34. 00 httpd
26631 apache 20 0 37608 10 m 4828 S 2.6 0: 10. 75 httpd
32698 apache 20 0 36584 10 m 4700 S 2.6 0: 01. 86 httpd
19642 apache 20 0 37608 11 m 4848 S 2.3 0: 19. 35 httpd
1154 apache 20 0 37608 10 m 4800 S 2.0 0: 01. 20 httpd
27686 apache 20 0 37608 10 m 4784 D 2.0 0.5. 47 httpd
30995 apache 20 0 37608 10 m 4768 S 2.0 0: 04. 69 httpd
1994 apache 20 0 42848 15 m 5732 D 1.7 0.8. 43 httpd

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.