Skip to content
Discussion options

You must be logged in to vote

Hey @brpeterso

Sorry about that, I just checked the code and it looks like you're right - the history chart (GlCpuHistory.vue) is only using system and user data points. And for the gauge / speedometer (GlCpuGauge.vue), it's omitting several fields.

I think your suggestion of using 100% - idle, for each core and averaging it out sounds like it would work, I'll try it out now :)


The CPU widget was one of the harder ones to build, since:

  • Different systems have different CPU categories returned (depending on OS, architecture and weather it's virtualized)
  • Some of the CPU data is sub-categories (e.g. guest and guest_nice data is already included in the user and/ or nice category)
  • There's no …

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@brpeterso
Comment options

@Lissy93
Comment options

Answer selected by brpeterso
Comment options

You must be logged in to vote
1 reply
@Lissy93
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants