-
Notifications
You must be signed in to change notification settings - Fork 209
Luke Bonham edited this page Sep 10, 2013
·
29 revisions
Shows memory status (in MiB) in a textbox.
mymem = lain.widgets.mem()
The function takes a table as an optional argument. That table may contain:
Variable | Meaning | Type | Default |
---|---|---|---|
timeout |
Refresh timeout seconds | int | 3 |
settings |
User settings | function | empty function |
settings
can use the strings used
(memory used MB) and swapused
(swap used MB).
A textbox.