Environmental description of this article
Operating system: Redhat6.8.
Kernel version: 2.6.32-642.el6.x86_64.
Top of SYSTEM commands
You can monitor the CPU and other resources of the Linux system by entering the top command directly at the command line, as shown in. 650) this.width=650; "title=" qq20170717162654.jpg "alt=" wkiol1lsdoydi1b4aaeny3tpr_i421.jpg-wh_50 "src=" https:// S4.51cto.com/wyfs02/m02/9c/20/wkiol1lsdoydi1b4aaeny3tpr_i421.jpg-wh_500x0-wm_3-wmp_4-s_4251343636.jpg "/>
Press CTRL + C to end the real-time monitoring interface and back to command line operations.
System Command Free
Enter the top command directly at the command line to monitor resources such as the Linux system's memory.
650) this.width=650; "title=" qq20170717165143.jpg "alt=" wkiom1lsexpwlhmiaaalbhujhii925.jpg-wh_50 "src=" https:// S4.51cto.com/wyfs02/m02/9c/21/wkiom1lsexpwlhmiaaalbhujhii925.jpg-wh_500x0-wm_3-wmp_4-s_660382284.jpg "/>
Nmon of auxiliary tools
Upload the Nmon tool to the server and perform real-time monitoring of the server's corresponding resources.
This example uploads the nmon_x86_64_rhel54 and uploads it to the/root directory.
Modify File Execution permissions: chmod u+x/root/nmon_x86_64_rhel54
Execute/root/nmon_x86_64_rhel54 or cd/root directly and then./nmon_x86_64_rhel54
650) this.width=650; "title=" qq20170717175446.jpg "alt=" wkiom1lsiw3gconmaacv4im5req843.jpg-wh_50 "src=" https:// S2.51cto.com/wyfs02/m01/9c/23/wkiom1lsiw3gconmaacv4im5req843.jpg-wh_500x0-wm_3-wmp_4-s_2702398731.jpg "/>
Monitor CPU usage directly by C, the benefit of this tool is the ability to monitor the usage of each CPU in real time, with only 1 CPUs in this case.
650) this.width=650; "title=" qq20170717175746.jpg "alt=" wkiom1lsiifws-ffaaa6enmw6ya016.jpg-wh_50 "src=" https:// S4.51cto.com/wyfs02/m02/9c/23/wkiom1lsiifws-ffaaa6enmw6ya016.jpg-wh_500x0-wm_3-wmp_4-s_2748980178.jpg "/>
Press CTRL + C to exit the monitoring interface.
PS: If you need to get nmon_x86_64_rhel54 and more similar files or Redhat6.8 image file please leave a message or contact [email protected]
Linux operating system resource usage monitoring