summaryrefslogtreecommitdiff
path: root/HELP
blob: e077c51b548dac1846f28ce076c4bda417fee643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
==> Reading configuration from /home/pb/.loadbarsrc
==> Setting showcores=1, it might be overwritten by command line params.
==> Setting showtext=0, it might be overwritten by command line params.
==> Setting extended=1, it might be overwritten by command line params.
==> Setting showmem=1, it might be overwritten by command line params.
CPU stuff:
    st = Steal in % [see man proc] (extended)
        Color: Red
    gt = Guest in % [see man proc] (extended)
        Color: Red
    sr = Soft IRQ usage in % (extended)
        Color: White
    ir = IRQ usage in % (extended)
        Color: White
    io = IOwait cpu sage in % 
        Color: Purple
    id = Idle cpu usage in % (extended)
        Color: Black
    ni = Nice cpu usage in % 
        Color: Green
    us = User cpu usage in % 
        Color: Yellow, dark yellow if to>50%, orange if to>50%
    sy = System cpu sage in % 
        Blue, lighter blue if >30%
    to = Total CPU usage, which is (100% - id)
    pk = Max us+sy peak of last avg. samples (extended)
    avg = System load average; desc. order: 1, 5 and 15 min. avg. 
    1px horizontal line: Maximum sy+us+io of last 'avg' samples (extended)
    Extended means: text display only if extended mode is turned on
Memory stuff:
    Ram: System ram usage in %
        Color: Dark grey
    Swp: System swap usage in %
        Color: Grey
Config file support:
    Loadbars tries to read ~/.loadbarsrc and it's possible to configure any
    option you find in --help but without leading '--'. For comments just use
    the '#' sign. Sample config:
        showcores=1 # Always show cores on startup
        showtext=0 # Always don't display text on startup
        extended=1 # Always use extended mode on startup
    will always show all CPU cores in extended mode but no text display. 
Examples:
    loadbars --extended 1 --showcores 1 --height 300 --hosts localhost
    loadbars --hosts localhost,server1.example.com,server2.example.com
    loadbars --cluster foocluster (foocluster is in /etc/clusters [ClusterSSH])
--average <ARG>	- Num of samples for avg. (more fluent animations)
--barwidth <ARG>	- Set bar width
--cluster <ARG>	- Cluster name from /etc/clusters
--extended <ARG>	- Toggle extended display (0 or 1)
--factor <ARG>	- Set graph scale factor (1.0 means 100%)
--height <ARG>	- Set windows height
--hosts <ARG>	- Comma sep. list of hosts; optional: user@ in front to each host
--maxwidth <ARG>	- Set max width
--samples <ARG>	- Set number of samples until ssh reconnects
--showcores <ARG>	- Toggle core display (0 or 1)
--showmem <ARG>	- Toggle mem display (0 or 1)
--showtexthost <ARG>	- Toggle hostname/num text display (0 or 1)
--showtext <ARG>	- Toggle text display (0 or 1)
--sshopts <ARG>	- Set SSH options