Parameter: corepath

Startup parameters change the behavior of the Service Manager server. You can always set a startup parameter from the server's operating system command prompt.

Parameter

corepath

Description

This parameter defines the path to the core file that is generated by a system crash. The operating system of the Service Manager server determines which core file is generated, if any, during a system crash. Core file names are specific to the operating system.

For example:

Linux: Core.<process_id>

Windows: sm.<process_id>_<thread_id>.mini.dmp

Note  

  • In Linux, this parameter is available only when the GCORE command is available.
  • You must set the value of this parameter to a location that already exists. Service Manager will not create the directory structure in which to write the core file.

Valid if set from

Server's operating system command prompt

Initialization (sm.ini) file

Requires restart of the Service Manager server?

No

Default value

The Service Manager Server RUN directory

Possible values

Path to the operating system core file

Example usage

Command line: sm -enablecoredump:1 -corepath:/sm/corefiles/

Initialization file (two lines):

enablecoredump:1

corepath:/sm/corefiles/

Related topics

System parameters
Enter a parameter in the sm.ini file
Debugging parameters
Parameter: enablecoredump