I am executing a command remotely using below code and expect to read output of executed command. How can I extract output of executed command in profile YYY in the variable so I can use this variable in the script? Thanks.
args = pds.create()
reply,rc = nimbus.request(probeaddr,"run_profile",args)
if rc ~= 0 then
printf("Unable to query the '%s' probe",probename)