No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Device Management

CloudEngine 12800 and 12800E V200R005C10

This document describes the configurations of Device Management, including device status query, hardware management, Information Center Configuration, NTP, Synchronous Ethernet Configuration, Fault Management Configuration, Energy-Saving Management Configuration, Performance Management Configuration, Maintenance Assistant Configuration, and OPS Configuration.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring a Performance Statistics Collection Task

Configuring a Performance Statistics Collection Task

Context

To collect and analyze performance data of services in the system, configure a performance statistics collection task and bind the task to instances. In the performance statistics collection task, you can configure the performance statistics collection cycle and parameters for statistics file generation.

Currently, the following performance statistics can be collected:
  • Memory usage, CPU usage, and temperature of cards

  • Traffic on interfaces

  • Network performance

  • IP FPM performance statistics collection (only supported on the CE12800E that has the ED-E, EG-E, and EGA-E series cards installed).

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run pm

    The performance management (PM) view is displayed.

  3. Run statistics enable

    The performance statistics collection function is enabled.

    By default, the performance statistics collection function is disabled.

  4. Run statistics-task task-name

    A performance statistics collection task is created, and the performance statistics collection task view is displayed.

  5. Run binding instance-type instance-type { all | instance instance-name &<1-8> }

    An instance is bound to the performance statistics collection task.

    After an instance is bound to a performance statistics collection task, the system collects the performance statistics about the instance.

  6. (Optional) Run measure disable instance-type instance-type { measure measure-name | all }

    Measurement is disabled for a statistics counter of the instance bound to the performance statistics collection task.

    By default, all statistics counters of the instance bound to a performance statistics task are measured.

    To view statistics counters of the instance bound to a performance statistics task, run the display pm measure-info [ instance-type instance-type ] command. To deactivate a specific statistics counter of the instance bound to a performance statistics collection task, run the measure disable instance-type instance-type measure measure-name command to disable the measurement for the statistics counter.

  7. (Optional) Run statistics-cycle cycle

    The performance statistics collection cycle is set.

    The default cycle is 15 minutes.

  8. (Optional) Run sample-interval interval

    The sampling interval for a performance statistics collection task is set.

    By default, the sampling interval varies with the performance statistics collection cycle:

    • If the performance statistics collection cycle is 5 minutes, the default sampling interval is 1 minute.
    • If the performance statistics collection cycle is 10 minutes, the default sampling interval is 2 minutes.
    • If the performance statistics collection cycle is 15 minutes, the default sampling interval is 3 minutes.
    • If the performance statistics collection cycle is 30 minutes, the default sampling interval is 5 minutes.
    • If the performance statistics collection cycle is 60 minutes, the default sampling interval is 5 minutes.
    • If the performance statistics collection cycle is 1440 minutes, the default sampling interval is 15 minutes.

  9. (Optional) Configure statistics file generation.

    • Run the record-file disable command to disable the generation of a performance statistics file.

      By default, the system saves performance statistics in a performance statistics file automatic.

      Run this command when you do not want the system memory to be occupied by many performance statistics files. After disabling the generation of a performance statistics file, you can still run the display pm statistics task-name data-index index [ instance-type instance-type [ measure measure-name | instance instance-name &<1-8> ] * ] command to view performance statistics.

    • If the performance statistics file generation function is left enabled, you can run the record-interval interval command to set the number of performance statistics collection cycles after which the system generates a statistics file.

      By default, the interval at which the system generates performance statistics files is determined by the performance statistics collection cycle:
      • If a short performance statistics collection cycle (5, 10, 15, 30, or 60 minutes) is set, the system generates performance statistics files every four intervals.
      • If a long performance statistics collection cycle (1440 minutes) is set, the system generates performance statistics files at every one interval.

      After the command is executed, the system generates performance statistics files every cycle x interval minutes and automatically saves the performance statistics in the files. The system generates a maximum of four performance statistics files for each performance statistics collection task. If the system generates a new performance statistics file when four performance statistics files already exist, the latest performance statistics file will replace the earliest one.

      Run the file-format { text | xml } command to set the format for performance statistics files. By default, statistics files are in the .txt format.

  10. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100074722

Views: 18502

Downloads: 20

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next