PMVIEW(5) File Formats Manual PMVIEW(5) (NAME) pmview - pmview PCP (DESCRIPTION) . pmview (1) . . . . <<>> (replay) . ( ) . ( pmtime(1)). (grid) (bars) (stacks) (links) (pipes) (labels) . . . pmview : pmview Version 2.1 [command_line] command_line . pmview . PATH . <<#>> () . (white space) . : color Qt ( QColor https://doc.qt.io/qt-5/qcolor.html#predefined-colors ) HTML ( "#ff6347") real . : red "#ff0000" 1.0 0.0 0.0 int . metric ( ) ( ) . (<<:>>) (<>) . . . : kernel.all.cpu.idle 4000 myhost:kernel.all.cpu.idle[cpu0,"cpu3"] 1000.0 /path/to/myarchive/kernel.all.cpu.idle[cpu1] 1000 . . . . (PID) proc . init : proc.psusage.utime[1] 1000 proc.psusage.stime[1] 1000 name . (underscore) (dash) . . pos (grid) . : [ [x z] [ [width depth] [alignment] ] ] x ( ) 0. x 0 . z ( ) 0. z 0 . width . width 1 . depth . depth 1 . alignment . : north south east west northeast northwest southeast southwest center. se SE . center . PMDA . . : 0 5 0,5 . 1 2 north 1,2 . 2 2 2 1 east 3,2 (2,2 3,2) . string (double quotes) . . . . . (resource) . _barLength int _bar _stack. 28 . _barHeight int _bar _stack. 80 . _baseColor color _bar _grid _stack. "#262626" ( gray15) . _baseHeight int _bar _grid _stack. 2 . _gapWidth int _bar X. 8 . _gapDepth int _bar Z. 8 . _gapLabel int _bar . 6 . _gridWidth int _grid. 20 . _gridDepth int _grid. 20 . _labelMargin int _label. 5 . _labelColor color _label _bar. (white) . _marginWidth int _bar _grid _stack . 8 . _marginDepth int _bar _grid _stack . 8 . _pipeLength int _pipe. _barHeight . _scale real . . 1.0 . _colorList _colorScale ( _bar _stack _pipe) . . : _colorList name ( color [color...] ) color name . . foo : _colorList foo ( red "#ff0000" 1.0 0.0 0.0 ) _colorScale name color ( color real [color real...] ) color real name . color . real . real real 0.0 1.0 . : _colorScale coldToHot blue ( "#7f00ff" 0.3 purple 0.6 "#ff007f" 0.8 red 0.95) pmview : _bar _stack _pipe _grid _link _label. _xing _link . _bar _stack _pipe _label _link _xing _grid ( _grid) . _grid . _bar _grid _stack . _show : _baseLabel name|string _baseLabel (_bar _grid _stack) . <<\n>> . <<\n>> . . : _bar [options] ( [metric-list] [color-list] [label-list] ) _bar . . . . color-list . options _bar : pos _bar _grid . _col|_row (_col) (_row) . . _col . _show|_hide _show . _ymod|_colormod|_colorymod (_ymod) (_colormod) (_colorymod). _cube|_cylinder . _cube . _groupbymetric|_groupbyinst|_groupbyrow||groupbycol . pmchart(1) . . _metrics (_groupbymetric) _metric (_groupbyinst) _row _col _bar . _groupbymetric . . : _bar _hide _cylinder ( ... ) . metric-list . metric-list _bar : _metrics ( metric real [string] [metric real [string]...] ) color-list _bar . _colormod _colorymod _colorScale . _bar : _colorList name _colorList ( color [color...] ) _colorScale name _colorScale color ( color real [color real...] ) label-list metric-list _metriclabels _instlabels . _bar (_row) (_col) _bar (_towards) (_away). _towards . _metriclabels [_away|_towards] ( name|string [name|string...] ) _instlabels [_away|_towards] ( name|string [name|string...] ) _grid [pos] [_show|_hide] ( objects ) _grid _grid . _grid . / . . . _grid (pos) _grid _grid _grid (_show) (_hide). . _grid _grid _grid. _grid _grid . _label [options] string _label string options : pos _label _grid . _left|_right|_up|_down string. . _right . _small|_medium|_large . _medium . _link pos [string] _link <<>> L- _baseHeight _grid . : pos _link . _link _grid pos . alignment ( ): east west north south northeast northwest southeast southwest L- northeast <> . string (tag) _link . _pipe pos ( [metric-list] [color-list] [tag] ) _pipe . _pipe _baseHeight . metric-list . color-list _pipe . _pipe _pipeLength . pos _pipe _grid alignment . . east west north south . . metric-list . metric-list _pipe : _metrics ( metric real [metric real...] ) color-list _pipe : _colorList name _colorList ( color [color...] ) tag _pipe (tag) ( ) . _pipeTag name|string _stack [options] ( [metric-list] [color-list] [label] ) _stack . metric-list . color-list _stack . _stack . options _stack : pos _stack _grid . _show|_hide _show . _utilmod|_fillmod . (_utilmod) (_fillmod) . _cube|_cylinder . _cube . . : _stack 1 1 _north _utilmod ( ... ) . metric-list . metric-list _stack : _metrics ( metric real [metric real...] ) color-list _stack : _colorList name _colorList ( color [color...] ) label _stack _fillmod : _stackLabel name|string _xing col row columns rows dir1 ... dir4 _xing . <<>> . col row . columns rows (bounding box) . (stub) . dir _xing ( ). (EXAMPLE) : pmview Version 2.1 # Use a lighter grey for the base planes _baseColor "#7f7f7f" # Define colors for CPU object _colorList cpu ( blue2 red2 yellow2 cyan2 green2 ) # The top grid object, but hide it from view _grid _hide ( # Show the current load in a bar object _bar 0 0 ( _baseLabel "Load averages over a\n1, 5 and 15 minute interval" _metrics ( kernel.all.load[1] 1 "1" kernel.all.load[5] 1 "5" kernel.all.load[15] 1 "15" ) _colorList ( blue blue blue ) ) # Add a label below the load bars _label 0 1 "Load" # Change the color of the base plane for later objects _baseColor "#fba2f5" # pink # Show the CPU usage over all CPUs in a utilization stack _stack 2 0 _south _utilmod ( _baseLabel "CPU Utilization over all CPUs" _metrics ( kernel.all.cpu.user 1000 kernel.all.cpu.sys 1000 kernel.all.cpu.intr 1000 kernel.all.cpu.wait.total 1000 kernel.all.cpu.idle 1000 ) _colorList cpu ) # Add a label below the CPU stack _label 2 1 "CPU" # Create a separate grid for links and pipes _marginWidth 1 _marginDepth 1 _gridSpace 12 _grid 0 3 5 4 _hide ( _pipeLength 12 _baseHeight 12 # Add a pipe and a link with western orientation _pipe 0 0 west ( _pipeTag "West pipe" _metrics ( kernel.all.cpu.user 1000 kernel.all.cpu.sys 1000 kernel.all.cpu.idle 1000 ) _colorList cpu ) _link 0 2 west "West link" # Add xing _xing 1 0 3 3 west east east west # Add a link and a pipe with eastern orientation _pipe 4 0 east ( _pipeTag "East Pipe" _metrics ( kernel.all.cpu.user 1000 kernel.all.cpu.sys 1000 kernel.all.cpu.idle 1000 ) _colorList cpu ) _link 4 2 east "East link" ) ) (SEE ALSO) pmview(1). Performance Co-Pilot PMVIEW(5)