wiki:top_cpu_usage
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| wiki:top_cpu_usage [2020/03/12 11:07] – created walkeradmin | wiki:top_cpu_usage [2020/03/12 11:17] (current) – [Overview] walkeradmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | TOP CPU Usage | + | ====== |
| + | <color darkorange> | ||
| + | \\ | ||
| + | \\ | ||
| + | \\ | ||
| + | ==== Overview ==== | ||
| + | |||
| + | ---- | ||
| + | |||
| + | Top is a great tool for showing how much CPU and memory is being consumed on a server, on a multi CPU system however, the CPU percentages can be confusing. Look at the example below. | ||
| + | \\ | ||
| + | \\ | ||
| + | {{ : | ||
| + | \\ | ||
| + | The figures for the highlighted processes are defined as 100% chunks of each CPU (or part of a CPU) so when we see a CPU usage of ' | ||
| + | \\ | ||
| + | \\ | ||
| + | This makes it challenging to work out how much CPU is being used, as you need to know the number of CPUs in the first place. | ||
| + | \\ | ||
| + | \\ | ||
| + | Thankfully, TOP is able to show CPU usage as a percentage of total available CPU. To do this, when TOP is running press "shift - i" | ||
| + | \\ | ||
| + | \\ | ||
| + | {{ : | ||
| + | \\ | ||
| + | Above we can see that the highlighted processes now show as a total CPU consumed figure, which is much simpler to work with. | ||
| + | \\ | ||
| + | \\ | ||
wiki/top_cpu_usage.1584011273.txt.gz · Last modified: (external edit)
