Installing perf, iotop, and ltrace

perf, iotop, and ltrace are third-party tools. The installation methods provided below are for reference only. You should adapt them according to actual environments.

  • The root user is used as an example to run the preceding commands. For a non-root user, add sudo before each command line.
  • The iotop tool cannot be used in containers.
  • After installing the perf, iotop, and ltrace tools, perform operations in Configuring User Permissions.