Show TOC

SAP Host Agent Reference - Command Line Options of the hostexecstart ExecutableLocate this document in the navigation structure

The hostexecstart program is a command line tool available for UNIX operating systems. It allows a user that does not have root authorization to perform some control operations relevant for the lifecycle of SAP Host Agent.

Prerequisites

You have to be member of group sapsys, for example <sapsid>adm, to be able to execute the program.

Features

You call the program from the command line with the following syntax:

/usr/sap/hostctrl/exe/hostexecstart -[option] [pf=<ProfilePath>]

Calling hostexecstart without any arguments starts SAP Host Agent

You can execute hostexecstart with the following command line options:

Option

Meaning

-help

Lists all command line options of hostexecstart with documentation

-upgrade <path>

Upgrades SAP Host Agent using the path to the extracted SAPHOSTAGENT <SP-version>.SAR

-start

Starts SAP Host Agent if it is not running

-restart

Restarts SAP Host Agent

-status

Returns the information whether SAP Host Agent is running or not running