I’m self studying for a server+ cert and ran into this paragraph. Am I right that CPU time is a set of ticks utilized, the CPU Capacity is the total capacity, and the CPU usage is the percentage of ticks:capacity?
I have been making notes from this chapter, and the more I get into it the more I seem to find things like this that seem slightly off.
Does anyone have a physical copy of the 2ed McMillan CompTia Server+ study guide I can compare against? I feel like someone is messing with me.
You are correct. Here’s a thread on how CPU usage is calculated:
https://stackoverflow.com/questions/3748136/how-is-cpu-usage-calculated
It’s basically (CPU time of the process) / (clock time), or (CPU time)/(clock time * number of hardware threads), depending on how it’s reported.
Note that there’s are some complications here, like the time “wasted” context switching or running the OS.