xref: /OK3568_Linux_fs/yocto/poky/scripts/pybootchartgui/README.pybootchart (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun			    PYBOOTCHARTGUI
2*4882a593Smuzhiyun			   ----------------
3*4882a593Smuzhiyun
4*4882a593Smuzhiyunpybootchartgui is a tool (now included as part of bootchart2) for
5*4882a593Smuzhiyunvisualization and analysis of the GNU/Linux boot process. It renders
6*4882a593Smuzhiyunthe output of the boot-logger tool bootchart (see
7*4882a593Smuzhiyunhttp://www.bootchart.org/) to either the screen or files of various
8*4882a593Smuzhiyunformats. Bootchart collects information about the processes, their
9*4882a593Smuzhiyundependencies, and resource consumption during boot of a GNU/Linux
10*4882a593Smuzhiyunsystem. The pybootchartgui tools visualizes the process tree and
11*4882a593Smuzhiyunoverall resource utilization.
12*4882a593Smuzhiyun
13*4882a593Smuzhiyunpybootchartgui is a port of the visualization part of bootchart from
14*4882a593SmuzhiyunJava to Python and Cairo.
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunAdapted from the bootchart-documentation:
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun  The CPU and disk statistics are used to render stacked area and line
19*4882a593Smuzhiyun  charts. The process information is used to create a Gantt chart
20*4882a593Smuzhiyun  showing process dependency, states and CPU usage.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun  A typical boot sequence consists of several hundred processes. Since
23*4882a593Smuzhiyun  it is difficult to visualize such amount of data in a comprehensible
24*4882a593Smuzhiyun  way, tree pruning is utilized. Idle background processes and
25*4882a593Smuzhiyun  short-lived processes are removed. Similar processes running in
26*4882a593Smuzhiyun  parallel are also merged together.
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun  Finally, the performance and dependency charts are rendered as a
29*4882a593Smuzhiyun  single image to either the screen or in PNG, PDF or SVG format.
30*4882a593Smuzhiyun
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunTo get help for pybootchartgui, run
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun$ pybootchartgui --help
35*4882a593Smuzhiyun
36*4882a593SmuzhiyunThis code was originally hosted at:
37*4882a593Smuzhiyun	http://code.google.com/p/pybootchartgui/
38