cancel
Showing results for 
Search instead for 
Did you mean: 

Reg : sap is` running or not

Former Member
0 Kudos

I have tried using this command ps -ef | grep "sap"

I have got the below output .But the problem is that i cannot understand from the output whether the sap is running or not .How to know whether sap is running or not .

hlgadm 11782 11757 0 Mar 13 ? 0:00 ig.sapHLG_JC00 -mode=profile pf=/usr/sap/HLG/SYS/profile/HLG_JC00_pluto

hlyadm 23449 1 0 Dec 08 ? 3:15 /usr/sap/HLY/SYS/exe/run/saps tartsrv pf=/usr/sap/HLY/SYS/profile/START_G02_plut

hlgadm 23220 1 0 Dec 08 ? 4:30 /usr/sap/HLG/JC00/exe/sapstar tsrv pf=/usr/sap/HLG/SYS/profile/START_JC00_pluto

hlgadm 11785 11782 0 Mar 13 ? 4:57 /usr/sap/HLG/JC00/exe/igspw_m t -mode=profile -no=1 -restartcount=0 pf=/usr/sap/

hlgadm 11503 11477 0 Mar 13 ? 0:43 en.sapHLG_SCS01 pf=/usr/sap/H LG/SYS/profile/HLG_SCS01_pluto

hlgadm 22862 1 0 Dec 08 ? 3:36 /usr/sap/HLG/SCS01/exe/sapsta rtsrv pf=/usr/sap/HLG/SYS/profile/START_SCS01_plut

hlgadm 18577 18576 0 Jan 13 ? 0:01 /usr/sap/saprouter/saprouter -r -R /usr/sap/saprouter/saprouttab

hlgadm 11502 11477 0 Mar 13 ? 0:26 ms.sapHLG_SCS01 pf=/usr/sap/H LG/SYS/profile/HLG_SCS01_pluto

hlgadm 12027 11781 0 Mar 13 ? 20:42 /usr/sap/HLG/JC00/exe/jlaunch pf=/usr/sap/HLG/SYS/profile/HLG_JC00_pluto -DSAPI

hlgadm 11783 11782 0 Mar 13 ? 8:33 /usr/sap/HLG/JC00/exe/igsmux_ mt -mode=profile -restartcount=0 pf=/usr/sap/HLG/S

hlgadm 11757 1 0 Mar 13 ? 0:00 /usr/sap/HLG/JC00/exe/sapstar t pf=/usr/sap/HLG/SYS/profile/START_JC00_pluto

hlgadm 12029 11781 0 Mar 13 ? 1236:41 /usr/sap/HLG/JC00/exe/jlaunch pf=/usr/sap/HLG/SYS/profile/HLG_JC00_pluto -DSAPI

hlgadm 11477 1 0 Mar 13 ? 0:00 /usr/sap/HLG/SCS01/exe/sapsta rt pf=/usr/sap/HLG/SYS/profile/START_SCS01_pluto

hlgadm 12030 11781 0 Mar 13 ? 9:36 /usr/sap/HLG/JC00/exe/jlaunch pf=/usr/sap/HLG/SYS/profile/HLG_JC00_pluto -DSAPI

hlgadm 11781 11757 0 Mar 13 ? 0:53 jc.sapHLG_JC00 pf=/usr/sap/HL G/SYS/profile/HLG_JC00_pluto

root 5169 1 0 Feb 16 ? 5:07 /usr/sap/hostctrl/exe/saposco l -l pf=/usr/sap/hostctrl/exe/host_profile

sapadm 5078 1 0 Feb 16 ? 0:08 /usr/sap/hostctrl/exe/sapstar tsrv pf=/usr/sap/hostctrl/exe/host_profile -D

hlgadm 11784 11782 0 Mar 13 ? 4:46 /usr/sap/HLG/JC00/exe/igspw_m t -mode=profile -no=0 -restartcount=0 pf=/usr/sap/

hlyadm 9425 1 0 Feb 18 ? 0:00 /usr/sap/HLY/SYS/exe/run/saps tart pf=/usr/sap/HLY/SYS/profile/START_G02_pluto

hlgadm 9988 9445 0 01:33:36 pts/9 0:00 grep sap

root 5076 1 0 Feb 16 ? 1:07 /usr/sap/hostctrl/exe/saphost exec pf=/usr/sap/hostctrl/exe/host_profile

hlyadm 9436 9425 0 Feb 18 ? 0:20 gw.sapHLY_G02 -mode=profile p f=/usr/sap/HLY/SYS/profile/HLY_G02_pluto

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Ambarish,

Refer to page number 7 from the following link. BTW, it is troubleshooting document but you can use to clarify your doubts.

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e09e4a5e-8280-2a10-ca98-a59dd47d396d]

Hope this helps.

Manoj Chintawar

Answers (2)

Answers (2)

markus_doehr2
Active Contributor
0 Kudos

An AS Java is running if you have at least three "jlaunch" processes.

You can also do (as user <sid>adm)

cdpro
jcmon pf=<instance-profile>
20

Dispatcher, server and SDM should run.

Markus

Former Member
0 Kudos

Ambarish,

in case you're running an ABAP stack: SAP is not running. What is the log file telling you?

Please refer to the Application server forum here on SCN in case of start/stop problems.

André

Former Member
0 Kudos

Its only java stack .I am not facing an issue with start or stop but i wanted to know only whether sap is running or not.

Former Member
0 Kudos

Hi,

given command as

ps -ef | grep "scs" it will show all JAVA processes running at OS level. Based on this you can figure out SAP is running or not.

Regards,

Sachin Rane.

Edited by: Sachin Rane on Mar 26, 2009 7:26 AM

Former Member
0 Kudos

I tried executing that command but i am not getting the list of process but we can get it another way by checking the j control process and j launch process.But i wanted to know how to whether sap is running or not.

Former Member
0 Kudos

Ambarish,

check it via webbrowser: http://hostname:50000/

The port number depeneds on the instance number of your SAP system, e.g. 50100 for instance number 01 etc.

André