Skip to content

Resource Usage

Displays CPU and memory usage.

Configuration

resourceusage:
  cpuCombined: false
  enabled: true
  position:
    top: 1
    left: 1
    height: 1
    width: 1
  refreshInterval: 1s
  showCPU: true
  showMem: true
  showSwp: true

Screenshots

resource usage screenshot

Attributes

Name Value
cpuCombined
Optional Whether or not to display the CPUs as one combined value. Default: false.
true, false
graphIcon
Optional The character to use to display stars in the graph. Default: |.
Any visible alphanumeric character.
graphStars
Optional The maximum number of stars to display in the graph. Default: 20.
Any positive integer.
showCPU
Optional Whether or not to display the CPU usage. Default: true.
true, false
showMem
Optional Whether or not to display the memory usage. Default: true.
true, false
showSwp
Optional Whether or not to display the swap memory usage. Default: true.
true, false

Source Code

https://github.com/wtfutil/wtf/tree/master/modules/resourceusage