< Home

display bulk-stat

Function

The display bulk-stat command displays basic information about the statistics collected in batches.

Format

display bulk-stat [ file-name ]

Parameters

Parameter Description Value
file-name Specifies the name of a statistics file. The value is a string of 1 to 31 characters. The name can contain only numbers, characters, or the symbols "_", and "-".

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display bulk-stat command views basic information about the statistics collected in batches, including:

  • Maximum number of statistics files

  • Number of the statistics files currently configured

  • Maximum number of instances to be collected in five minutes

  • Basic configurations and the status of the currently configured statistics files

The display bulk-stat file-name command displays detailed information about a specified statistics file, including:

  • File name, storage method, and file format

  • Statistics collection interval and statistics uploading interval

  • Primary and secondary uploading URLs

  • Times to re-upload a statistics file

  • Period to reserve the statistics for

  • Current file status

  • Objects that the statistics file contains

Currently, only the storage method ephemeral is supported and the default method is also ephemeral.

Example

# Display detailed information about a statistics file.

<sysname> display bulk-stat
bulk statistic info:  
--------------------------------
max bulk file number : 10
current bulk file number: 10
current bulk object number: 2000
max data item per 5 minutes: 40000
--------------------------------
index  bulk file name           collect(min)  transfer(min) status
-------------------------------------------------------------------------------------------------------------
 1     bulk1                    5            5              running
 2     bulk2                    5            15             ready
 3     bulk3                    5            10             stop
 4     bulk4                    5            15             ready
-------------------------------------------------------------------------------------------------------------
Table 1 Description of the display bulk-stat command output

Item

Description

max bulk file number

Indicates the maximum number of statistics files.

current bulk file number

Indicates the number of statistics files currently configured.

current bulk object number

Indicates the number of statistics objects currently configured.

max data item per 5 minutes

Indicates the number of instances to be collected in five minutes.

index

Indicates the index of a statistics file.

bulk file name

Indicates the name of a statistics file.

collect (min)

Indicates the statistics collection interval of a statistics file.

transfer (min)

Indicates the statistics uploading interval of a statistics file.

status

Indicates the status of a statistics file, including:
  • ready: indicates that batch statistics collection is to be performed.
  • running: indicates that statistics are being collected and statistics objects are being added to the statistics file.
  • stop: indicates that batch statistics collection in the current round is complete.

# Display detailed information about a statistics file named iftable.

<sysname> display bulk-stat iftable
bulk file iftable:  
--------------------------------
storage: ephemeral
format: bulkASCII
collect interval: 5 min
transfer interval: 15 min
primary transfer URL: ftp://user:password@host/folder/bulkstat1
secondary transfer URL: tftp://10.1.0.1/tftpboot/user/bulkstat1
transfer retry times: 3
file remain time: 15 min
status: running
last transfer success time: 2014-11-29 11:15
last transfer fail time: NULL
total object number: 2
--------------------------------
index: 1
class: single
OID: 1.3.6.1.2.1.10.94.1.1.10.1.1.0.1
start index: NULL
instance number: NULL
--------------------------------
index: 2
class: column
OID:  1.3.6.1.2.1.10.94.1.1.10.1.2
start index: 1
instance number: 3 
Table 2 Description of the display bulk-stat command output

Item

Description

storage

Indicates the storage method of a statistics file.

format

Indicates the file format.

collect interval

Indicates the statistics collection interval.

transfer interval

Indicates the statistics uploading interval.

primary transfer URL

Indicates the primary URL.

secondary transfer URL

Indicates the secondary URL.

transfer retry times

Indicates the re-uploading times.

file remain time

Indicate the period to reserve a statistics file for.

last transfer success time

Indicates the last time a statistics file was successfully uploaded.

last transfer fail time

Indicates the last time a statistics file failed to be uploaded.

total object number

Indicates the total number of objects.

index

Indicates the index of a statistics object.

class

Indicates the class of a statistics object, including:
  • Single: indicates a single statistics object.
  • Column: indicates batch statistics objects.

OID

Indicates the OID of a statistics object.

start index

Indicates the start index.

instance number

Indicates the number of instances on an object.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >