blob: 62205c95d79568ef5570e0fae43ab90ee2ed30ed (
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
|
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
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
--inter <ARG> - Set update interval in seconds (default 0.1)
--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
--title <ARG> - Set the window title
|