How to Check, Stop, and Start the SAP Host Agent

The following commands will show you on how to check, stop and get the start of SAP Host Agent.

Windows = C:\Program Files\SAP\hostctrl\exe

UNIX / Linux = /usr/sap/hostctrl/exe

Use the User: root or Administrator

Go to the Directory /usr/sap/hostctrl/exe 

Status Host Agent:

Run the command:  ./saphostexec -status

Stop Host Agent:

Run the command:  ./saphostexec -stop

Start Host Agent:
Run the command:  ./saphostexec -restart

https://sapbasisbyankur.blogspot.com/2017/07/how-to-check-stop-and-start-sap-host_6.html