diff options
| author | Paul Buetow <paul@buetow.org> | 2012-07-11 09:06:51 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2012-07-11 09:06:51 +0200 |
| commit | 4f1b53dc1246aaee2cf2400cb9ad787633c7c92b (patch) | |
| tree | 58503ca83231278546edb2033a8279ee84b3ba9d | |
| parent | 3745cacf885f18639ff514757afd780facaf7e14 (diff) | |
remove --factor switch
| -rw-r--r-- | .version | 2 | ||||
| -rw-r--r-- | docs/loadbars.1 | 75 | ||||
| -rw-r--r-- | docs/loadbars.pod | 77 | ||||
| -rw-r--r-- | docs/loadbars.txt | 76 |
4 files changed, 220 insertions, 10 deletions
@@ -1 +1 @@ -0.5.999 +0.5.99+nmu3 diff --git a/docs/loadbars.1 b/docs/loadbars.1 index 30940cd..188295b 100644 --- a/docs/loadbars.1 +++ b/docs/loadbars.1 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) +.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16) .\" .\" Standard preamble: .\" ======================================================================== @@ -124,20 +124,87 @@ .\" ======================================================================== .\" .IX Title "LOADBARS 1" -.TH LOADBARS 1 "2012-04-20" "loadbars 0.5.3" "User Commands" +.TH LOADBARS 1 "2012-07-11" "loadbars 0.5.99+nmu3" "User Commands" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" -loadbars \- Small tool to observe server loads +loadbars \- A small and humble tool to observe server loads .SH "SYNOPSIS" .IX Header "SYNOPSIS" -For any program help check out \-\-help on command line or 'h' during program +.SS "I like flying elephants" +.IX Subsection "I like flying elephants" +For any startup params help check out \-\-help on command line or 'h' during program execution. +.SS "A few examples however" +.IX Subsection "A few examples however" +loadbars \-\-extended 1 \-\-showcores 1 \-\-height 300 \-\-hosts localhost +.PP +loadbars \-\-hosts localhost,server1.example.com,server2.example.com +.PP +loadbars \-\-cluster foocluster (foocluster is in /etc/clusters [ClusterSSH]) .SH "DESCRIPTION" .IX Header "DESCRIPTION" Loadbars is a small script that can be used to observe \s-1CPU\s0 loads of several remote servers at once in real time. It connects with \s-1SSH\s0 (using \s-1SSH\s0 public/private key auth) to several servers at once and vizualizes all server CPUs and memory statistics right next each other (either summarized or each core separately). Loadbars is not a tool for collecting \s-1CPU\s0 loads and drawing graphs for later analysis. However, since such tools require a significant amount of time before producing results, Loadbars lets you observe the current state immediately. Loadbars does not remember or record any load information. It just shows the current \s-1CPU\s0 usages like top or vmstat does. +.SH "INFO" +.IX Header "INFO" +.SS "\s-1CPU\s0 stuff" +.IX Subsection "CPU stuff" +st = Steal in % [see man proc] (extended), Color: Red +.PP +gt = Guest in % [see man proc] (extended), Color: Red +.PP +sr = Soft \s-1IRQ\s0 usage in % (extended), Color: White +.PP +ir = \s-1IRQ\s0 usage in % (extended), Color: White +.PP +io = IOwait cpu sage in %, Color: Purple +.PP +id = Idle cpu usage in % (extended), Color: Black +.PP +ni = Nice cpu usage in %, Color: Green +.PP +us = User cpu usage in %, Color: Yellow, dark yellow if to>50%, orange if to>50% +.PP +sy = System cpu sage in %, Color: Blue, lighter blue if >30% +.PP +to = Total \s-1CPU\s0 usage, which is (100% \- id) +.PP +pk = Max us+sy peak of last avg. samples (extended) +.PP +avg = System load average; desc. order: 1, 5 and 15 min. avg. +.PP +1px horizontal line: Maximum sy+us+io of last 'avg' samples (extended) +.PP +Extended means: text display only if extended mode is turned on +.SS "Memory stuff" +.IX Subsection "Memory stuff" +Ram: System ram usage in %, Color: Dark grey +.PP +Swp: System swap usage in %, Color: Grey +.SS "Network stuff" +.IX Subsection "Network stuff" +Rxb: Incoming (received) traffic in %, Color: Light green, normal green if >100% while using low netlink reference. Bar comes from top and is half width. +.PP +Txb: Outgoing (transmitted) traffic in %, Color: Light green, normal green if >100% while using low netlink reference. Bar comes from bottom and is half width. +.PP +When network bar is red: The interface does not exist on the specific remote host. +.PP +\fIConfig file support\fR +.IX Subsection "Config file support" +.PP +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: +.Sp +.RS 4 +showcores=1 # Always show cores on startup +.Sp +showtext=0 # Always don't display text on startup +.Sp +extended=1 # Always use extended mode on startup +.RE +.PP +will always show all \s-1CPU\s0 cores in extended mode but no text display. .SH "LICENSE" .IX Header "LICENSE" See package description or project website. diff --git a/docs/loadbars.pod b/docs/loadbars.pod index 4a029bd..f0382aa 100644 --- a/docs/loadbars.pod +++ b/docs/loadbars.pod @@ -1,17 +1,90 @@ =head1 NAME -loadbars - Small tool to observe server loads +loadbars - A small and humble tool to observe server loads =head1 SYNOPSIS -For any program help check out --help on command line or 'h' during program +=head2 I like flying elephants + +For any startup params help check out --help on command line or 'h' during program execution. +=head2 A few examples however + +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]) + =head1 DESCRIPTION Loadbars is a small script that can be used to observe CPU loads of several remote servers at once in real time. It connects with SSH (using SSH public/private key auth) to several servers at once and vizualizes all server CPUs and memory statistics right next each other (either summarized or each core separately). Loadbars is not a tool for collecting CPU loads and drawing graphs for later analysis. However, since such tools require a significant amount of time before producing results, Loadbars lets you observe the current state immediately. Loadbars does not remember or record any load information. It just shows the current CPU usages like top or vmstat does. +=head1 INFO + +=head2 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 %, Color: 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 + +=head2 Memory stuff + +Ram: System ram usage in %, Color: Dark grey + +Swp: System swap usage in %, Color: Grey + +=head2 Network stuff + +Rxb: Incoming (received) traffic in %, Color: Light green, normal green if >100% while using low netlink reference. Bar comes from top and is half width. + +Txb: Outgoing (transmitted) traffic in %, Color: Light green, normal green if >100% while using low netlink reference. Bar comes from bottom and is half width. + +When network bar is red: The interface does not exist on the specific remote host. + +=head3 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: + +=over 4 + +showcores=1 # Always show cores on startup + +showtext=0 # Always don't display text on startup + +extended=1 # Always use extended mode on startup + +=back + +will always show all CPU cores in extended mode but no text display. + + =head1 LICENSE See package description or project website. diff --git a/docs/loadbars.txt b/docs/loadbars.txt index 4791cd5..aab011b 100644 --- a/docs/loadbars.txt +++ b/docs/loadbars.txt @@ -1,9 +1,18 @@ NAME - loadbars - Small tool to observe server loads + loadbars - A small and humble tool to observe server loads SYNOPSIS - For any program help check out --help on command line or 'h' during - program execution. + I like flying elephants + For any startup params help check out --help on command line or 'h' + during program execution. + + A few examples however + 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]) DESCRIPTION Loadbars is a small script that can be used to observe CPU loads of @@ -17,6 +26,67 @@ DESCRIPTION Loadbars does not remember or record any load information. It just shows the current CPU usages like top or vmstat does. +INFO + 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 %, Color: 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 + + Network stuff + Rxb: Incoming (received) traffic in %, Color: Light green, normal green + if >100% while using low netlink reference. Bar comes from top and is + half width. + + Txb: Outgoing (transmitted) traffic in %, Color: Light green, normal + green if >100% while using low netlink reference. Bar comes from bottom + and is half width. + + When network bar is red: The interface does not exist on the specific + remote host. + + 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. + LICENSE See package description or project website. |
