SAPHostProfile - File /usr/sap/hostctrl/exe/host_profile
Shared parser for parsing the /usr/sap/hostctrl/exe/host_profile
file.
- class insights.parsers.sap_host_profile.SAPHostProfile(context)[source]
Bases:
Parser
,LegacyItemAccess
Class for parsing the /usr/sap/hostctrl/exe/host_profile file.
Typical content of the file is:
SAPSYSTEMNAME = SAP SAPSYSTEM = 99 service/porttypes = SAPHostControl SAPOscol SAPCCMS DIR_LIBRARY = /usr/sap/hostctrl/exe DIR_EXECUTABLE = /usr/sap/hostctrl/exe DIR_PROFILE = /usr/sap/hostctrl/exe DIR_GLOBAL = /usr/sap/hostctrl/exe DIR_INSTANCE = /usr/sap/hostctrl/exe DIR_HOME = /usr/sap/hostctrl/work
Examples
>>> type(hpf) <class 'insights.parsers.sap_host_profile.SAPHostProfile'> >>> hpf['SAPSYSTEMNAME'] 'SAP' >>> hpf['DIR_HOME'] '/usr/sap/hostctrl/work'