Work with HOD Server status
To determine whether the Service Manager is running,
it needs to be checked whether the Java program NCServiceManager ,
which is started by the script NCServiceManager-OS400.sh, is running
or not. Therefore, the method to check the server status might vary
according to the method used to start the service manager.

- Use the WRKACTJOB command to review the status :
- Enter the command:
This provides a list of active jobs.WRKACTJOB
- In the Work with Active Jobs menu, the Host On-Demand service manager job gets listed with the function name JVM-NCServiceM. Use the PageDown or PageUp button to scroll down the menu to this job entry and enter the appropriate option number to Work with.. the job, typically option 5.
- Utilize the menu options to review the job status.
- Enter the command:
- Query the process status in the command line.


- On the IBM System i, sign on to a green screen command line.
- b) Enter the PASE shell environment. On the green screen command
line, enter the following command:
.call qp2term
- On the PASE shell, type the following command:
.ps –ef | grep NCServ
Note: NCServiceManager is the name of the Java program that runs the service manager.


$
> ps -ef | grep NCServ
kushald 3146 1 0 15:23:30 - 0:00 /QIBM/ProdData/OS400/Java400/jFr
omPASE java -classpath .:sm.zip:ibmjndi.jar:jndi.jar:jsdk.jar:ods.jar:jt400.j
ar -Djava.net.preferIPv4Stack=true -DFIPS=on com.ibm.eNetwork.HODUtil.service
s.admin.NCServiceManager /QIBM/ProdData/Host On-Demand
$

Note:
The PASE shell is case-sensitive. Hence,
it is important to maintain the correct case of alphabets in command
(step c).

