инструмент ленточной диаграммы для Performance Co-Pilot (strip chart tool for Performance Co-Pilot)
VIEWS
The primary pmchart
configuration file is the "view", which
allows the metadata associated with one or more charts to be
saved in the filesystem. This metadata describes all aspects of
the charts, including which PCP metrics and instances are to be
used, which hosts, which colors, the chart titles, use of chart
legends, and much more.
From a conceptual point of view, there are two classes of view.
These views share the same configuration file format - refer to a
later section for a complete description of this format. The
differences lie in where they are installed and how they are
manipulated.
The first class, the "system" view, is simply any view that is
installed as part of the pmchart
package. These are stored in
$PCP_VAR_DIR/config/pmchart. When the File→Open View dialog is
displayed, it is these views that are initially listed. The
system views cannot be modified by a normal user, and should not
be modified even by a user with suitable privileges, as they will
be overwritten during an upgrade.
The second class of view is the "user" view. These views are
created on-the-fly using the File→Save View dialog. This is a
mechanism for individual users to save their commonly used views.
Access to these views is achieved through the File→Open View
dialog, as with the system views. Once the dialog is opened, the
list of views can be toggled between user and system views by
clicking on the two toggle buttons in the top right corner. User
views are stored in $HOME/.pcp/pmchart.