How to check if SAP HOST AGENT is running ?

Command to verify saphostagent is running or not

root# /usr/sap/hostctrl/exe/saphostexec -status


Successful logs

[root@hostname:/root]# /usr/sap/hostctrl/exe/saphostexec -status
saphostexec running (pid = 9699506)
sapstartsrv running (pid = 13238512)
14:54:55 27.10.2014     LOG: Using PerfDir (DIR_PERF) = /usr/sap/tmp
saposcol running (pid = 18874488)



Additional Info:
Command to START SAPHOSTAGENT
root# /usr/sap/hostctrl/exe/saphostexec -restart

Successful logs
[root@hostname:/root]# /usr/sap/hostctrl/exe/saphostexec -restart
-> Start /usr/sap/hostctrl/exe/saphostexec pf=/usr/sap/hostctrl/exe/host_profile <-

start hostcontrol using profile /usr/sap/hostctrl/exe/host_profile



Command to STOP SAPHOSTAGENT
root# /usr/sap/hostctrl/exe/saphostexec -restart




Share this article :

Post a Comment

 
Copyright © 2011. SAP BASIS ANSWERS | SAP BASIS ADMIN BLOG - All Rights Reserved
T C P M
Proudly powered by Blogger