lina/cpu.md
2013-09-10 13:42:18 -07:00

16 lines
No EOL
379 B
Markdown

[<- widgets](https://github.com/copycat-killer/lain/wiki/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 | 10
`settings` | User settings | function | empty function
### output
A textbox.