Thursday, 20 August 2020

CPU in EC2

 What is CPU ?
 

The Central processing unit(CPU) of a computer is a piece  of hardware that carries out the instructions of a computer program.

it performs the basic arithmetical,logical,and input/output operations of a computer system.

  • CPU components
  1. The CPU can be made of multiple cores.
           Each core is independent, which enables multi-tasking.
      2.The CPU has a frequency (in GHz), which represents how fast it rotates,The higher the better!
             the higher it rotates ⇈ better the compute system will performs💪.


When is CPU used?

Anytime your server needs to perform a computation, or an instruction, the CPU will be used.

You can use the "top" command to find the current amount of CPU being used.

in Linux,each core will account for 100%.if you have 4 cores,all the cores are used when CPU usage is 400%



$ top

The output of top OS level command looks similar to the below screen:




For detail historically performance of CPU, Navigate to running EC2 instance page  --> Select the server --> in monitor tab --> you can monitor the CPU in graphs.


No comments:

Post a Comment