Attributes for Linux

Required attributes for Linux

Required attribute

Description

PathName 

Defines complete pathname to access an executable program. This path includes the program name. If a process is controlled by a script, the PathName defines the complete path to the shell. The PathName attribute must not exceed 256 characters. 

Type and dimension: string-scalar 

 

Optional attributes for Linux

Optional attribute

Description

Arguments 

Passes arguments to the process. If a process is controlled by a script, the script is passed as an argument. Multiple arguments must be separated by a single space. A string cannot accommodate more than one space between arguments, nor allow for leading or trailing whitespace characters.  

Type and dimension: string-scalar 

Example: -bd -q30m 

Example: "-bd -q30m" 

 

IgnoreArgs 

A flag that indicates whether monitor ignores the argument list. 

  • If the value is 0, it checks the process pathname and argument list.
  • If the value is 1, it only checks for the executable pathname and ignores the rest of the argument list.

Type and dimension: boolean-scalar 

Default: 0 

 

PidFile 

The file that contains the process ID for the monitoring process. Specify the PidFile attribute for the monitoring process to use the Pid. Otherwise, to complete the monitoring process the agent uses the ps output.  

Note that when you use scripts, or other indirect mechanisms, to start processes, you must set the PidFile attribute when the ps output is different from the configured values for the PathName or Arguments attributes. 

Type and dimension: string-scalar 

Example: /var/lock/sendmail.pid 

Example: "/var/lock/sendmail.pid" 

 

Priority 

Priority with which the process will run. Priority values range between -20 (highest) to +19 (lowest).  

Type and dimension: string-scalar 

Default: 10 

 

UserName 

Owner of the process. The process runs with the user ID. 

Type and dimension: string-scalar 

Default: root