Hi @GyaniBaba;
In Windows, you can create a batch script to check the status of services on remote machine;
You have to add the following codes in .bat file:
STEP 1:
net use \\hostname_of_SAS_server Password /User:Windowsuser (Using this command you can connect your local machine to your SAS Server )
STEP 2 (Add the SAS services name):
sc \\hostname_of_SAS_server query "SAS_Service_Name" | FIND "STATE
or
sc \\hostname_of_SAS_server query "SAS_Service_Name" | FIND "STATE > status.txt (if you want to create the file of all services state information)
After running these two commands,
you will get the information of that service name in cmd like this:
STATE : 4 RUNNING
I hope that with this information you can create your script according to your need