Rate This Document
Findability
Accuracy
Completeness
Readability

Task Management

Prerequisites

At least one node has been installed successfully.

Procedure

  1. Click next to System Diagnosis. The task creation page is displayed.
  2. Set task parameters.
    • Click Import Template next to the Task Name text box to select and import a saved task template.
    • This section describes only common task parameters. For details about how to set other task parameters, see the corresponding analysis task sections.
    • If multiple tasks (including tasks of different users) are allocated to the same node, the tasks are executed in the order of submission time and only one task can be executed at a time.
    Table 1 Parameters for adding a task

    Parameter

    Description

    Task Name

    Name of the analysis task. A created task is automatically named in the Analysis type_Date_Time format. You can change the name as required.

    The name must meet the following requirements:

    • Contain only letters, digits, and special characters (including @#$ %^&*()[]<>._-!-+ and spaces). The name cannot start or end with a space.
    • Contain 1 to 32 characters.

    Select Nodes

    Select the nodes to be analyzed. If there is only one node, this node is selected by default.

    Diagnosis Object

    Object to be diagnosed. The options are:

    • Memory
    • Network I/O
    • Storage I/O

    Mode

    Mode for the diagnosis object. This parameter is available only when Diagnosis Object is set to Memory. The options are:
    • Launch application: starts the application when the sampling begins. The sampling duration is determined by the execution time of the application. This option is recommended for applications with short execution time. The analysis covers the application and its subprocesses.
    • Attach to process: associates the existing PIDs on the server during data collection. You need to configure the sampling duration parameter (applicable to scenarios where the application runs for a long time). The analysis covers only the PIDs in the parameter, not the sub-processes of the PIDs.

    Diagnosis Scenario

    Scenario of the diagnosis task.

    For memory diagnosis, the options are:

    • Memory usage

    For network I/O diagnosis, the options are:

    • Network dialing test
    • Packet loss diagnosis
    • Packet capture
    • Network load

    For storage I/O diagnosis, the options are:

    • Performance pressure test
  3. Click OK. For details about task parameters, see Table 1 and the related analysis task sections.

    You can click the icons next to the task name to perform the following operations:

    • : stops the analysis task. After an analysis task is stopped, the collected information will be deleted.
    • : restarts the analysis task. You can modify task parameter settings and restart an analysis task. This button is available when a task is canceled or fails.
    • : performs the analysis again. The analysis task is renamed and restarted.
    • : changes the task or report name. The report naming rule is the same as that of a task.
    • : deletes the analysis task. After a task is deleted, all data of this task will be deleted. Exercise caution when performing this operation.
    • The administrator (devadmin) and common users can view, restart, and delete analysis tasks created by themselves. When creating a task, users can click Manage Nodes next to Select Nodes to go to the node management page.
    • You can click Save as Template and enter a template name to save the configuration information of the current task as a template.
    • The newly created template is displayed in the > Tool Settings > System Diagnosis > Task Templates area. You can view or (batch) delete task templates on the task template list page.
  4. Importing/Exporting tasks
    After an analysis task is created, you can move the mouse pointer onto the task name to view the detailed task information. Analysis tasks can be imported and exported. See Figure 1.
    • Click or next to System Diagnosis on the left. You can view and delete imported tasks, and download and delete exported tasks. If an import or export task fails, you can click Retry to import or export again.
    • The administrator can export the tasks created by all users. Common users can export only tasks created by themselves.
    • : imports a project or analysis task, as shown in Figure 1. Two import modes are available. You can select a mode based on your requirements.
      Figure 1 Importing a task
      • If Import Mode is set to Upload file, select the exported compressed file and upload it.
      • If Import Mode is set to Specify file path, enter the absolute path of the file on the server.
    • : exports an analysis task. See Figure 1.

      You can collect data offline and then import the data for analysis.

      If the size of data to be exported exceeds 1 GB, the data is compressed into multiple compressed fragment sequence files whose size does not exceed 1 GB.

  5. (Optional) Cancel data collection or cancel the whole task.

    When the task is running, you can click Start Analysis to stop data collection and start analysis immediately or click Cancel to stop the task.

    Figure 2 Canceling a task