How to check probe status from command line

book

Article ID: 209735

calendar_today

Updated On:

Products

DX Infrastructure Management

Issue/Introduction

How to check probe status from command line?

 

Environment

Release : 20.3

Component : UIM - ROBOT

Resolution

The robot controller callback 'probe_list' is helpful to check which probes are active:

Here is an example to check where we are checking if controller probe is running. This can be used for any probe

C:\>"C:\Program Files (x86)"\Nimsoft\bin\pu.exe -u administrator -p <password>
<UIM_domain>/<UIM_hub>/<UIM_Robot>/controller probe_list controller
Jan 25 13:41:43:879 pu: SSL - init: mode=0, cipher=DEFAULT, context=OK
Jan 25 13:41:43:880 pu: nimCharsetSet() - charset=
======================================================
Address: <UIM_domain>/<UIM_hub>/<UIM_Robot>/controller probe_list controller
Request: probe_list
======================================================
controller      PDS_PDS         465
 name            PDS_PCH          11 controller
 description     PDS_PCH          34 Robot process and port controller
                 ~
 group           PDS_PCH          15 Infrastructure
 active          PDS_I             2 1
 type            PDS_I             2 0
 command         PDS_PCH          15 controller.exe
 config          PDS_PCH          10 robot.cfg
 logfile         PDS_PCH          15 controller.log
 workdir         PDS_PCH           6 robot
 timespec        PDS_PCH           1
 times_activated PDS_I             2 0
 last_action     PDS_I             2 0
 pid             PDS_I             5 3304
 times_started   PDS_I             2 1
 last_started    PDS_I            11 1484088410
 pkg_name        PDS_PCH          13 robot_update
 pkg_version     PDS_PCH           5 7.80
 process_state   PDS_PCH           8 running
 port            PDS_I             6 48000
 is_marketplace  PDS_I             2 0
 marketpl_block  PDS_I             2 0

The process_state indicates the status as running.