This is an automated archive.
The original was posted on /r/ubuntu by /u/RajSingh9999 on 2023-08-30 06:28:44+00:00.
Below is screenshot of top command output.
[![enter image description here]1](https://i.stack.imgur.com/YZ285.png)
I want to understand memory and cpu information in this top’s summary view. I have following doubts:
- Are the numbers for
us
,sy
,ni
etc in%Cpu(s)
in third line are percentages of total hardware CPU processing power available? (I believe this is likely the case as I am unable to imaging anything else out of which % is shown.)
MAN page says:
Line 2 shows CPU state percentages based on the interval since the last refresh. As a default, percentages for these individual categories are displayed.
SO, I believe this indeed mean “percentages of total hardware CPU processing power available”, right?
2. What are the values in %CPU
column? Is it percentages of total hardware CPU processing power available or percentage of current CPU utilisation, that is percentage of %Cpu(s)
specified in third row? (I feel later, because total of value in %CPU
column is greater than total of us
, sy
and ni
values (which actually contributes to current CPU utilisation, if am not wrong.).
MAN page says:
The task’s share of the elapsed CPU time since the last screen update, expressed as a percentage of total CPU time.
Its not clear share out of “total hardware CPU processing power” or “current CPU utilization”.
MAN page says:
A task’s currently used share of available physical memory.
Again not clear whether its share out of “total RAM available” or “current memory utilization”.
3. What are the values in %MEM
column? Is it percentage of (hardware) RAM size or percentage of current RAM utilisation?