Proactive Contact: How to check the Connected supervisor and agent by command line


Doc ID    SOLN294410
Version:    1.0
Status:    Published
Published date:    14 Aug 2016
Author:   
yongweiwang
 

Details

Version 4..x and 5.x

Problem Clarification

Customer would like to know how many supervisor connected to the dialer by which IP address and which supervisor tools is connected to the dialer

Cause

Currently there is no existing command to show how many sessions who connected  on supervisor by command line

Solution

For supervisor, you can try the following command to check the which client with ipaddress use which supervisor tools:

Take hostname:redts13 as example

For editor:

$ netstat |grep -i ":ccs_ssl"

tcp        0      0 redts13:ccs_ssl             1**.1**.149.226:62724       ESTABLISHED

For monitor:

$ netstat |grep -i RTRM_ssl

tcp        0      0 redts13:ccs_ssl             1**.1**.149.226:56182       ESTABLISHED

For RBACManager:

$ netstat |grep -i RBACManager_ssl                                              

tcp        0      0 redts13:RBACManager_ssl     1**.1**.149.226:62728       ESTABLISHED

tcp        0      0 redts13:RBACManager_ssl     1**.1**.149.226:56186       ESTABLISHED

tcp        0      0 redts13:RBACManager_ssl     1**.1**.149.226:61136       ESTABLISHED

For Healthmanger:

$ netstat |grep -i syshealthSvc_ssl

tcp        0      0 redts13:syshealthSvc_ssl    1**.1**.149.226:61154       ESTABLISHED

 

If you want to list all connection in one command, you can run :

 

netstat| egrep ":ccs_ssl|RTRM_ssl|RBACManager_ssl|syshealthSvc_ssl"

 

For the analyst: it is quite difficult to diffentiate the other oracle connection: but you brief get it from :

$ netstat |egrep  ":2484" |grep ffff

tcp        0      0 redts13:2484                ::ffff:1**.1**.149.22:63688 ESTABLISHED

 

For agent:

You can check the agent process:

$ ps -eaf| grep -i agent |grep -v agentcount |grep -v "agent -d" |grep -v grep

 

To remove the agent, you try it by jobmon and monitor , there is option to remove agent by jobmon and monitor

If you can not see it from jobmon and monitor, you need to kill it by command line by the process id


Avaya -- Proprietary. Use pursuant to the terms of your signed agreement or Avaya policy