File: example.view

package info (click to toggle)
pcp 7.1.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 252,748 kB
  • sloc: ansic: 1,483,656; sh: 182,366; xml: 160,462; cpp: 83,813; python: 24,980; perl: 18,327; yacc: 6,877; lex: 2,864; makefile: 2,738; awk: 165; fortran: 60; java: 52
file content (38 lines) | stat: -rw-r--r-- 959 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
pmview Version 2.1
# 
# pmview configuration used as a starting point in the pmview exercises.
#

_colorlist ctrl_colors ( green2 )

_grid hide (
    _label 0 1 _down _large "Disk"

    _bar 1 1 _west (
        _metrics (
            disk.all.read          100
        )
        _colorlist ctrl_colors
        _baseLabel "Disk Reads\nNormalized to 100 reads/second"
    )

    _bar 2 1 _west (
        _metrics (
            disk.all.write         100
        )
        _colorlist ctrl_colors
        _baseLabel "Disk Writes\nNormalized to 100 writes/second"
    )

    _label 0 3 _west _down _large "Load"
    _bar 1 3 2 1 _west (
        _metrics (
            kernel.all.load[15]    2
            kernel.all.load[5]     2
            kernel.all.load[1]     2
        )
        _metriclabels _away ( "15" "5" "1" )
        _colorlist ( blue2 blue2 blue2 )
        _baseLabel "Average System Load over the last 1, 5, and 15 minutes\nNormalized to 2"
    )
)