generic-poky/scripts/pybootchartgui
Robert Yang 1b112fa9cf pybootchartgui: Fix the filename and add a default format
* Fix teh output filename to make it easy to use
* Add a default output format (svg)
* Fix the usage message
* Fix the version to v1.0.0

Currently, the help messages are:

$ ./pybootchartgui.py --help
Usage: pybootchartgui.py [options] /path/to/tmp/buildstats/<recipe-machine>/<BUILDNAME>/

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -i, --interactive     start in active mode
  -f FORMAT, --format=FORMAT
                        image format: svg, pdf, png, [default: svg]
  -o PATH, --output=PATH
                        output path (file or directory) where charts are
                        stored
  -s NUM, --split=NUM   split the output chart into <NUM> charts, only works
                        with "-o PATH"
  -n, --no-prune        do not prune the process tree
  -q, --quiet           suppress informational messages
  --very-quiet          suppress all messages except errors
  --verbose             print all messages

[YOCTO #2403]

(From OE-Core rev: 138c2c31e41e3f1803b7efbedf78326d71821468)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-15 15:12:43 +01:00
..
pybootchartgui pybootchartgui: Fix the filename and add a default format 2012-06-15 15:12:43 +01:00
AUTHORS pybootchartgui: add the original code 2012-06-15 15:12:42 +01:00
COPYING pybootchartgui: add the original code 2012-06-15 15:12:42 +01:00
README pybootchartgui: add the original code 2012-06-15 15:12:42 +01:00
pybootchartgui.py pybootchartgui: add the original code 2012-06-15 15:12:42 +01:00

README

			    PYBOOTCHARTGUI
			   ----------------

pybootchartgui is a tool for visualization and analysis of the
GNU/Linux boot process. It renders the output of the boot-logger tool
bootchart (see http://www.bootchart.org/) to either the screen or
files of various formats. Bootchart collects information about the
processes, their dependencies, and resource consumption during boot of
a GNU/Linux system. The pybootchartgui tools visualizes the process
tree and overall resource utilization.

pybootchartgui is a port of the visualization part of bootchart from
Java to Python and Cairo.

Adapted from the bootchart-documentation:

  The CPU and disk statistics are used to render stacked area and line
  charts. The process information is used to create a Gantt chart
  showing process dependency, states and CPU usage.

  A typical boot sequence consists of several hundred processes. Since
  it is difficult to visualize such amount of data in a comprehensible
  way, tree pruning is utilized. Idle background processes and
  short-lived processes are removed. Similar processes running in
  parallel are also merged together.

  Finally, the performance and dependency charts are rendered as a
  single image to either the screen or in PNG, PDF or SVG format.


To get help for pybootchartgui, run

$ pybootchartgui --help


http://code.google.com/p/pybootchartgui/