1yambar-modules-mem(5)         File Formats Manual        yambar-modules-mem(5)
2
3
4

NAME

6       mem - This module provides the memory usage
7

TAGS

9       ┌─────────────┬───────┬────────────────────────────────────────────────┐
10Name         Type  Description                                    
11       ├─────────────┼───────┼────────────────────────────────────────────────┤
12       │free         │ int   │ Free memory in bytes                           │
13       ├─────────────┼───────┼────────────────────────────────────────────────┤
14       │used         │ int   │ Used memory in bytes                           │
15       ├─────────────┼───────┼────────────────────────────────────────────────┤
16       │total        │ int   │ Total memory in bytes                          │
17       ├─────────────┼───────┼────────────────────────────────────────────────┤
18       │percent_free │ range │ Free memory in percent                         │
19       ├─────────────┼───────┼────────────────────────────────────────────────┤
20       │percent_used │ range │ Used memory in percent                         │
21       └─────────────┴───────┴────────────────────────────────────────────────┘
22

CONFIGURATION

24       ┌──────────────┬────────┬─────┬────────────────────────────────────────┐
25Name          Type   Req Description                            
26       ├──────────────┼────────┼─────┼────────────────────────────────────────┤
27       │poll-interval │ string │ no  │ Refresh interval of the memory usage   │
28       │              │        │     │ stats in milliseconds (default=500).   │
29       │              │        │     │ Cannot be less then 250ms.             │
30       └──────────────┴────────┴─────┴────────────────────────────────────────┘
31

EXAMPLES

33           bar:
34             left:
35               - mem:
36                   poll-interval: 2500
37                   content:
38                     string: {text: "{used:mb}MB"}
39

SEE ALSO

41       yambar-modules(5), yambar-particles(5), yambar-tags(5), yambar-decora‐
42       tions(5)
43
44
45
46                                  2023-07-22             yambar-modules-mem(5)
Impressum