Rate This Document
Findability
Accuracy
Completeness
Readability

Collecting Data on the CLI in One Click

Function

This function leverages the System Profiler to collect all task data by using the CLI, including overall analysis data and analysis data of microarchitecture, resource scheduling, hotspot functions, I/O performance, memory access, HPC application, process/thread performance, locks and waits. You can then import the collected data to the System Profiler.

  • Microarchitecture analysis and HPC application analysis do not support the VM environment. The physical machine environment is recommended.
  • One-click collection can be used only in the environment where the tool is installed and cannot be used on a mounted node.
  • If the libstdc++.so.6 version is too early, the system displays a message indicating that the user name and password fail to be verified. In this case, upgrade libstdc++.so.6 as prompted.

    Ensure that libstdc++.so.6 is soft-linked to libstdc++ in malluma_lib.

Procedure

  1. Go to the /usr/bin/malluma_tools directory and execute the command_line file.
    cd /usr/bin/malluma_tools
    ./command_line
    Figure 1 Executing the file
  2. Enter parameter values as required.
    Figure 2 Selecting the system as the analysis object
    Table 1 Parameter description

    Prompt

    Description

    Do you want to run performance check for system [y/system, n/application]

    Select an analysis object. y indicates the system, and n indicates an application.

    Please enter your user name

    Enter the user who executes the application.

    Please enter your password

    Enter the user password.

    Please Enter application Duration [2-300s]

    Enter the sampling duration, which ranges from 2 to 300 seconds.

    Please Enter application Start Delay [0-898s]

    The sampling starts after the specified time. This parameter is used to ignore the program startup analysis, warm up the sampling program, and eliminate sampling delay caused by factors such as environment detection. The value ranges from 0 to 898 seconds.

    Please Enter application Interval [should be half of duration, 1-10]

    Enter the sampling interval, which ranges from 1 to 10 seconds and is less than half of the sampling duration.

    Please Enter application Parameters [separated with comma]:

    Used for executing the application. Example: --defaults-file=/opt/mysql/my.cnf. Set this parameter based on the actual scenario.

    Please Enter application Directory [under /opt or /home]

    Absolute path of the application to be analyzed, for example, /opt/mysql/mysqld.

    Figure 3 Execution process
    Figure 4 Execution completed

    After the task is complete, the data package is stored in the corresponding folder in the tool installation directory. If the tool is installed in the /opt directory by default, the data package is stored in the /opt/Devkit/sys_perf/malluma/exports directory.

  3. View the analysis result.

    Click on the right of System Profiler and choose Import Task.

    Figure 5 Importing/Exporting tasks
    Figure 6 Selecting a path
    Figure 7 Import result