Process management

Prev Next

The NDR Series appliance includes commands to debug the system. You can start, stop, restart, and show the status of individual processes in KLISH. Shell access is not required to debug issues. In addition to controlling the lifecycle of the application, you can also follow the logs for individual component or choose to dump all the logs.

The following commands are available for process management:

Command

Description

process dump <Processname>

Dumps the last 1000 entries from the log.

process manage <processname> <operation>

Manages the process lifecycle. The available operations are:

  • start

  • stop

  • restart

  • status

process tail <processname>

Tails the log for the process. To exit the tail command, enter press CTRL-C.

To manage a process:

  1. Log in to the NDR as npadmin using the NDR IP address or FQDN. For example:

    $ ssh npadmin@10.1.0.1

    or

    $ ssh npadmin@exampleFQDN

  2. Enter privileged mode:

    npadmin@ia> enable

  3. Enter the npadmin password. The password can be 5 to 24 characters long.

    [sudo] password for npadmin: <password>

  4. Enter configuration mode:

    npadmin@ia# configure system

  5. Enter the process management action you want to complete:

    npadmin@ia(config)# process manage

    For example:

    npadmin@ia(config)# process manage elasticsearch status

    Or:

    npadmin@ia(config)# process dump elasticsearch