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