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

Advanced O&M Command Reference

OceanStor 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
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).
show file top

show file top

Function

The show file top command is used to collect the information about the files that are accessed the most in a specified period and display the information.

Format

show file top interval=? iteration=? controller_id=? [sort_key=?] [row=?]

Parameters

Parameter

Description

Value

interval=?

Interval at which the command is executed to perform statistics.

-

iteration=?

Times that the command is executed to perform statistics.

-

controller_id=?

Controller ID.

-

row=?

Number of top files to be displayed.

-

sort_key=?

Sorting keyword.

-

Views

Developer view

Usage Guidelines

  • The command can be used to collect statistics at a time or multiple times. Parameter "iteration" specifies the number of statistics times. If the value of "iteration" is 0, the command is executed infinitely.
  • Performance data will be updated in real time.
  • Press q to exit from the performance data page.

Example

  • Query top 10 files with the highest OPS.
    developer:/>show file top interval=10 iteration=2 controller_id=0A row=10 sort_key=total_ops 
    Press key "q" or ctrl-c to exit... 
      
      OPS  Controller  Storage Pool Filesystem     Fid File                               
      ---  ----------  --------------  -------------  ----  -------------------------------- 
      794  0A          StoragePool002  FileSystem001  4069  /test/vdb.1_4.dir/vdb_f0002.file 
      561  0A          StoragePool002  FileSystem001  4035  /test/vdb.1_2.dir/vdb_f0014.file 
      505  0A          StoragePool002  FileSystem001  4023  /test/vdb.1_2.dir/vdb_f0010.file 
      386  0A          StoragePool002  FileSystem001  4108  /test/vdb.1_6.dir/vdb_f0009.file 
      357  0A          StoragePool002  FileSystem001  4056  /test/vdb.1_3.dir/vdb_f0005.file 
      342  0A          StoragePool002  FileSystem001  4139  /test/vdb.1_8.dir/vdb_f0008.file 
      311  0A          StoragePool002  FileSystem001  4075  /test/vdb.1_4.dir/vdb_f0008.file 
      284  0A          StoragePool002  FileSystem001  4048  /test/vdb.1_1.dir/vdb_f0014.file 
      276  0A          StoragePool002  FileSystem001  4091  /test/vdb.1_5.dir/vdb_f0008.file 
      275  0A          StoragePool002  FileSystem001  4115  /test/vdb.1_6.dir/vdb_f0016.file 
      
      OPS  Controller  Storage Pool Filesystem     Fid File                               
      ---  ----------  --------------  -------------  ----  -------------------------------- 
      703  0A          StoragePool002  FileSystem001  4023  /test/vdb.1_2.dir/vdb_f0010.file 
      464  0A          StoragePool002  FileSystem001  4108  /test/vdb.1_6.dir/vdb_f0009.file 
      410  0A          StoragePool002  FileSystem001  4056  /test/vdb.1_3.dir/vdb_f0005.file 
      405  0A          StoragePool002  FileSystem001  4139  /test/vdb.1_8.dir/vdb_f0008.file 
      352  0A          StoragePool002  FileSystem001  4048  /test/vdb.1_1.dir/vdb_f0014.file 
      341  0A          StoragePool002  FileSystem001  4075  /test/vdb.1_4.dir/vdb_f0008.file 
      330  0A          StoragePool002  FileSystem001  4126  /test/vdb.1_7.dir/vdb_f0011.file 
      303  0A          StoragePool002  FileSystem001  4035  /test/vdb.1_2.dir/vdb_f0014.file 
      302  0A          StoragePool002  FileSystem001  4091  /test/vdb.1_5.dir/vdb_f0008.file 
      298  0A          StoragePool002  FileSystem001  4115  /test/vdb.1_6.dir/vdb_f0016.file  
  • Query top 10 files with the highest bandwidths.
    developer:/>show file top interval=10 iteration=2 controller_id=0A row=10 sort_key=total_data 
    Press key "q" or ctrl-c to exit... 
      Bandwidth(MB/s)  Controller  Storage Pool Filesystem  Fid File                               
      ---------------  ----------  --------------  -------------  ----  -------------------------------- 
      7.575            0A          StoragePool002  FileSystem001  4086  /test/vdb.1_5.dir/vdb_f0003.file 
      4.840            0A          StoragePool002  FileSystem001  4050  /test/vdb.1_1.dir/vdb_f0012.file 
      4.263            0A          StoragePool002  FileSystem001  4054  /test/vdb.1_3.dir/vdb_f0003.file 
      3.414            0A          StoragePool002  FileSystem001  4062  /test/vdb.1_3.dir/vdb_f0011.file 
      3.190            0A          StoragePool002  FileSystem001  4033  /test/vdb.1_2.dir/vdb_f0006.file 
      3.166            0A          StoragePool002  FileSystem001  4109  /test/vdb.1_6.dir/vdb_f0010.file 
      2.817            0A          StoragePool002  FileSystem001  4048  /test/vdb.1_1.dir/vdb_f0014.file 
      2.392            0A          StoragePool002  FileSystem001  4085  /test/vdb.1_5.dir/vdb_f0002.file 
      2.374            0A          StoragePool002  FileSystem001  4022  /test/vdb.1_1.dir/vdb_f0015.file 
      1.928            0A          StoragePool002  FileSystem001  4065  /test/vdb.1_3.dir/vdb_f0014.file 
      
      Bandwidth(MB/s)  Controller  Storage Pool Filesystem     Fid File                               
      ---------------  ----------  --------------  -------------  ----  -------------------------------- 
      4.702            0A          StoragePool002  FileSystem001  4062  /test/vdb.1_3.dir/vdb_f0011.file 
      4.406            0A          StoragePool002  FileSystem001  4109  /test/vdb.1_6.dir/vdb_f0010.file 
      4.086            0A          StoragePool002  FileSystem001  4033  /test/vdb.1_2.dir/vdb_f0006.file 
      3.350            0A          StoragePool002  FileSystem001  4086  /test/vdb.1_5.dir/vdb_f0003.file 
      3.149            0A          StoragePool002  FileSystem001  4085  /test/vdb.1_5.dir/vdb_f0002.file 
      2.970            0A          StoragePool002  FileSystem001  4022  /test/vdb.1_1.dir/vdb_f0015.file 
      2.431            0A          StoragePool002  FileSystem001  4065  /test/vdb.1_3.dir/vdb_f0014.file 
      2.186            0A          StoragePool002  FileSystem001  4124  /test/vdb.1_7.dir/vdb_f0009.file 
      2.164            0A          StoragePool002  FileSystem001  4113  /test/vdb.1_6.dir/vdb_f0014.file 
      2.026            0A          StoragePool002  FileSystem001  4076  /test/vdb.1_4.dir/vdb_f0009.file  

System Response

The following table describes the parameter meanings.

Parameter

Meaning

OPS

Number of operations processed per second.

Bandwidth(MB/s)

Bandwidth of I/Os processed per second.

Controller

ID of the controller whose information is collected.

Storage Pool

Storage pool name.

Filesystem

File system name.

Fid

File system ID.

File

File full path.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181575

Views: 663800

Downloads: 30

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