[configuration] parse-numbers = true title = Linux nmon properties and system commands height-units = 3 width-units = 1 update-interval = 0 responsive = false endtime = 2015-12-15T20:00:00Z entity = aixt02 class = terminal list servers = aixt02, aixt01 list commands = lsconf, emgr -l, emstat, ifconfig, ioo -f -l, ipcs -a, lparstat -h, lparstat -i, lsattr -el aio0, lsattr -el sys0, lsps -a, lssrad, mount, mpstat -d, netstat, no -f -l, oslevel, ps v, schedo -f -l, uptime, vmo -f -l, vmstat -i, vmstat -s, vmstat -v, wlmclasses, wlmcntrl -q, wlmlimits, wlmrules, wlmshares endlist [group] [widget] type = property title = System Commands timespan = 1 month column-entity = null column-time = null [dropdown] on-change = widget.post.queries[0].entity = this.value; widget.reload(); change-field = entity for srv in servers [option] text = @{srv} endfor [dropdown] on-change = widget.post.queries[0].key = {command: this.value}; widget.reload(); change-field = property.keys.command for cmd in commands [option] text = @{cmd} endfor [column] key = output label = Output [property] type = nmon.command [keys] command = lsconf [group] [widget] type = property title = All Properties timespan = all column-entity = null column-time = null expand-tags = true transpose = true list types = system, network [dropdown] on-change = widget.post.queries[0].entity = this.value; widget.reload(); change-field = entity for srv in servers [option] text = @{srv} endfor [dropdown] on-change = widget.post.queries[0].type = this.value; widget.reload(); change-field = property.type for tp in types [option] text = @{tp} endfor [property] type = system [group] [widget] type = property title = Top Processes timespan = 30 minute column-entity = null column-time = null endtime = 2015-12-15T12:15:00Z script = if (dialog) return; [dropdown] on-change = widget.post.queries[0].entity = this.value; widget.reload(); change-field = entity for srv in servers [option] text = @{srv} endfor onclick = var s = series({ metric: 'nmon.process.%cpu', disconnectInterval: '90 second'}); s.tags = {pid: s.tags.pid, command: s.tags.command}; onclick = dialog({ series: [s], disconnectValue: 0, maxrange: 100, timespan: '3 hour' }) sort = size desc [column] key = pid label = PID format = #### [column] key = command label = Command [column] key = %cpu label = Cpu % alert-expression = value > 15 alert-style = background-color: orange; color: black [column] key = %sys label = System % [column] key = %usr label = User % [column] key = size label = Size format = kilobytes [column] key = resdata label = Res Data format = kilobytes alert-expression = value > 25*1024 alert-style = background-color: orange; color: black [column] key = paging label = Paging [column] key = fullcommand label = Full Command [property] type = process