Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add load average support #52

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

pschmitt
Copy link

This PR adds support for load averages via:

  • #{load}: Displays load averages (eg: 0.02 1.31 0.78)
  • #{load1}: Displays load average of last minute (eg: 0.02)
  • #{load5}: Displays load average of last 5 minutes (eg: 1.31)
  • #{load15}: Displays load average of last 15 minutes (eg: 0.78)

There's also a new config option: @load_per_cpu_core that when set to true will divide the load average displayed by the number of CPU cores.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant