lina/cpu.md
2015-08-05 13:30:36 +02:00

459 B

<- widgets

Shows in a textbox the average CPU usage percent for a given amount of time.

mycpuusage = lain.widgets.cpu()

input table

Variable Meaning Type Default
timeout Refresh timeout seconds int 5
settings User settings function empty function

settings can use the string cpu_now.usage, which is the cpu use percentage.

output

A textbox.