Documentation
¶
Overview ¶
Package meminfo provides an i3bar module that shows memory information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Info ¶
Info wraps meminfo output. See /proc/meminfo for names of keys. Some common functions are also provided.
func (Info) AvailFrac ¶
AvailFrac returns the available memory as a fraction of total.
func (Info) Available ¶
Available returns the "available" system memory, including currently cached memory that can be freed up if needed.
Click to show internal directories.
Click to hide internal directories.