TOP command difference between cpu(s) and %CPU

Explanation:

Cpu(s): 34.0% us: User space occupied CPU percentage

%CPU: percentage of CPU time spent last updated to the present time

First look at the TOP command, you will find that the CPU(s) usage is only 15.5%, and a process %CPU reaches 278%.

Next, press 1 to see that the CPU(s) is the average value of the entire CPU occupied by all user processes of the system. Since the percentage occupied by each core is different, it is more meaningful to calculate by average.

%CPU shows the percentage of the process occupying a core, not the percentage of the entire cpu (8 cores), sometimes more than 100, because the process enables multithreading to occupy multiple cores, so sometimes we look at It is worth more than 100%, but it will not exceed the total number of cores *100.

Intelligent Recommendation

The difference between Linux system physical CPU, logic CPU and CPU core

1. Concept Physical CPU The actual quantity of the CPU on the server slot CPU nuclear number The number of chipsets that can process data on a CPU. Generally speaking, the number of physical CPUs &tim...

TOP command% CPU (s) Interpretation of CPU status information US, SY, NI, ID, WA, Hi, Si, ST meaning

       The summary area fields  describing  CPU  statistics  are  abbreviated.        They provide information...

The difference between tensorflow CPU and GPU

Recently, deep learning CPU is not enough. How can the boss configure the GPU? The underlying things that I have never paid attention to before, so I am determined to figure out the principles and ope...

The main difference between CPU and GPU:

1. The CPU is the central processor of the computer. Intel Core i5-5200U 2. The GPU is the graphics processor of the computer. Is a microprocessor dedicated to image computing on PCs, workstations, ga...

What is the difference between CPU and GPU?

Author: users know almost Link: https: //www.zhihu.com/question/19903344/answer/96081382 Source: know almost copyright reserved by the authors. Commercial reprint please contact the author authorized,...

More Recommendation

Simple difference between GPU and CPU

Applicable scenarios of GPU: (1) A computationally intensive program. The so-called Compute-intensive program is that most of its running time is spent on register operations. The speed of the registe...

What is the difference between CPU and GPU

Author: Jun insects link: https://www.zhihu.com/question/19903344/answer/96081382 Source: Zhihu The copyright belongs to the author. For commercial reproduction, please contact the author for authoriz...

The difference between CPU usage and load

0x01 CPU usage This is easier to understand, let's talk about this concept first. Utilization rate is actually a period of timeusage time/total time Just talk about the calculation method of CPU usage...

The difference between CPU--cache and register

cache: It is a high-speed data buffer, including the address and data of the storage operation that has been transmitted to the storage unit 2 and has not been completed, because these data are often ...

The difference between CPU, GPU, and NPU

The difference between CPU, GPU, and NPU CPU The CPU (Central Processing Unit) central processor is an ultra-large-scale integrated circuit. The main logic architecture includes the control unit Contr...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top