Skip to main content

Kill Process

Description

This step is used to kill a process on Linux OS based on the provided Process ID. There is an option provided for the user to forcefully kill a Process. The user has to select Yes or No from the dropdown. Forcefully kill will always work provided the user has the permission to kill the process.

Configurations

No.Field NameDescription
1Step NameName of the step.  This name has to be unique in a single workflow.
Configuration
2Server NameServer IP of the Linux/Ubuntu Machine. This field is mandatory. Drop down is available.
4PortThe port number on which Machine is running. 22 is the default port.
This field i smandatory.
5UsernameThe username of the Linux / Ubuntu Machine (Root). Refer Prerequisites regarding user in the introduction to this plugin.
This field is mandatory.
Password
6Checkbox: Accept Value as variable/staticLeave checkbox unchecked to accept Password value from a field in the previous steps of the stream using a drop down list.
Else enable checkbox for Password field to appear as Text box.
7PasswordThe Password of the Linux/ Ubuntu Machine username to authenticate into the system.
Password is entered using a widget. The widget handles both Text Var(static value or environment variable) and Combo(drop down containing values from previous steps). This field is mandatory.
If checkbox above is enabled Password field appears as Text box and accepts static or variable values. Else if checkbox above is disabled Password field appears as a drop down to select fields from previous steps.
Input
Input Fields
1Process IDHolds the Process ID of the Process that has to be deleted. This field is mandatory.
2Kill ForcefullyThe Field is dropdown. User can select either Yes or No from the dropdown.
Output Fields
1ResultOutput field to hold the result of the successful plugin execution.
Default label value for this field is “Result”. This field is mandatory.

NOTE: This Plugin kills the process running on the Linux Machine by taking the Process ID as the input. By any chance if the status of that particular process is still active after successful execution of Plugin then there might be few possibilities.

  • That particular Process is under the execution of system call(). It will be terminated once it finishes its execution.
  • That Process is a Zombie Process. There is no harm if it is still alive, just try killing the Parent Process, it will be automatically terminated.
  • You are not the owner of that Process.