package
Version:
v0.0.0-...-cb77e8e
Opens a new window with list of versions in this module.
Published: Oct 7, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package meminfo provides an i3bar module that shows memory information.
RefreshInterval configures the polling frequency.
Info wraps meminfo output.
See /proc/meminfo for names of keys.
Some common functions are also provided.
AvailFrac returns the available memory as a fraction of total.
Available returns the "available" system memory, including
currently cached memory that can be freed up if needed.
FreeFrac returns a free/total metric for a given name,
e.g. Mem, Swap, High, etc.
Module represents a bar.Module that displays memory information.
New creates a new meminfo module.
Output configures a module to display the output of a user-defined function.
Stream subscribes to meminfo and updates the module's output accordingly.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.