Back to Geneos FAQ

Internal documentation only

This page has been marked as draft.

Commands - Using user Command on a Multi-row Dataview for the values to be passed on a script

How to extract the selected values from multiple columns of a row while passing this through a script: Create a Commands with the following parameters enabled: Geneos - Commands - Using user Command on a Multi-row Dataview for the values to be passed on a script With the first argument calling out the script that echoes the value to a file followed by the other arguments that takes the Xpath of the columns that he wanted to take the value from Copied

command XML:

/geneos/gateway[(@name="Primary Gateway")]/directory/probe[(@name="1\_probe")]/managedEntity[(@name="Main")]/sampler[(@name="New Sampler 1")]/dataview/rows/row/cell script netprobe /your/script/path ../cell[(@column="residentSetSize")] ../cell[(@column="processId")] ../cell[(@column="virtualMemory")] true

Applying this should give you an output of the values selected for a row:

Geneos - Commands -  Using user Command on a Multi-row Dataview for the values to be passed on a script

["Geneos"] ["FAQ"]

Was this topic helpful?