1byobu-ugraph(1)                      byobu                     byobu-ugraph(1)
2
3
4

NAME

6       byobu-ugraph - helper script for notification history graphs
7
8

DESCRIPTION

10       byobu-ugraph  is  a  helper  script  that can be used to create history
11       graphs
12
13

USAGE

15       byobu-ugraph [options] [command [args...]]
16
17

OPTIONS

19         -f <file>   : File to read data points from.  (only  required  if  no
20       command specified).
21         -h          : Show this help.
22         -m <num>    : Minimum value (default=$min_default).
23         -n          : Supress output of newline character.
24         -p   <points>   :   Specify   number   of   data   points   in  graph
25       (default=$points_default).
26         -r          : Do not rotate  file  <file>  (default  is  to  rotate).
27       Option implies file <file> should not be written to so a command cannot
28       follow script options in this case.
29         -t <theme>  : 'byobu-ulevel' theme to use (default=$theme_default).
30         -x <num>    : Maximum value (default=$max_default).
31
32

EXAMPLES

34       Using byobu-ugraph to run a command, rotate log and display graph.
35
36       Here we specify a command to display available memory.   Trailing  echo
37       adds a required newline Note no filename specified.
38
39           byobu-ugraph "(/usr/lib/byobu/mem_used | sed -e 's/% //g';echo)"
40
41       Using byobu-ugraph just to rotate log and display the graph
42
43           file=/tmp/load.dat
44           awk '{ print $1}' /proc/loadavg >> $file
45           #  Note:  we  need to specify what we consider to be a "reasonable"
46       maximum load
47           byobu-ugraph -m 3.0 -f $file
48
49

NOTES

51       If you specify 'command', care must be  taken  with  shell  quoting  to
52       avoid expansion prior to this script running the command.
53
54       If  '-r' is not specified, the file <file> will be rotated such that at
55       most <points> lines are retained on each invocation of this script.
56
57

SEE ALSO

59       byobu(1)
60
61
62       http://byobu.org
63
64

AUTHOR

66       This utility was written by James Hunt <james.hunt@canonical.com>,  and
67       this  manpage  was  written by Dustin Kirkland <kirkland@byobu.org> for
68       Ubuntu systems (but may be used by others).  Permission is  granted  to
69       copy,  distribute and/or modify this document and the utility under the
70       terms of the GNU General Public License, Version  3  published  by  the
71       Free Software Foundation.
72
73       The  complete  text  of  the GNU General Public License can be found in
74       /usr/share/common-licenses/GPL  on   Debian/Ubuntu   systems,   or   in
75       /usr/share/doc/fedora-release-*/GPL on Fedora systems, or on the web at
76       http://www.gnu.org/licenses/gpl.txt.
77
78
79
80byobu                             16 Dec 2013                  byobu-ugraph(1)
Impressum