08-18-2011, 01:29 PM
Question : How to list open or existing sessions of JAVA GUI and Motif GUI
or How to find the process ID of JAVA GUI and Motif GUI?
Solution:
We can use the utility that is shipped with OMU 8.x
Execute the below command and you will get the PID list and the operator name
/opt/OV/contrib/OpC/listguis
USAGE: /opt/OV/contrib/OpC/listguis -help | -java | -motif | -all
-java: lists the open JAVA GUI connections (opcuiwww processes)
in the format 'mode PID Operator Name GUI hostname GUI Version Since %CPU'
and returns as exit code the number of open connections.
Mode 'm' means 'master mode' i.e. this is the first process
for this operator, doing the actual work
Mode 'c' means 'channel mode' i.e. this is a followup process
for this operator, just forwarding the requests to the master
-motif: lists the open Motif GUIs (opc processes)
in the format 'PID Operator Name UNIX user hostname
and returns as exit code the number of open GUISs.
-all (that's the default): does both
or How to find the process ID of JAVA GUI and Motif GUI?
Solution:
We can use the utility that is shipped with OMU 8.x
Execute the below command and you will get the PID list and the operator name
/opt/OV/contrib/OpC/listguis
USAGE: /opt/OV/contrib/OpC/listguis -help | -java | -motif | -all
-java: lists the open JAVA GUI connections (opcuiwww processes)
in the format 'mode PID Operator Name GUI hostname GUI Version Since %CPU'
and returns as exit code the number of open connections.
Mode 'm' means 'master mode' i.e. this is the first process
for this operator, doing the actual work
Mode 'c' means 'channel mode' i.e. this is a followup process
for this operator, just forwarding the requests to the master
-motif: lists the open Motif GUIs (opc processes)
in the format 'PID Operator Name UNIX user hostname
and returns as exit code the number of open GUISs.
-all (that's the default): does both