-
Notifications
You must be signed in to change notification settings - Fork 209
Luke Bonham edited this page Jul 12, 2015
·
27 revisions
Shows in a textbox the average CPU usage percent for a given amount of time.
mycpuusage = lain.widgets.cpu()
Variable | Meaning | Type | Default |
---|---|---|---|
timeout |
Refresh timeout seconds | int | 2 |
settings |
User settings | function | empty function |
settings
can use the string cpu_now.usage
, which is the cpu use percentage.
A textbox.