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 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. 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 space_task general

show space_task general

Function

The show space_task general command is used to query information about a single background space management task or background space management tasks in batches.

Format

show space_task general [ task_id=? ]

Parameters

Parameter

Description

Value

task_id=?

Task ID.

To obtain all task IDs, run the "show space_task general" command.Parameter is in integer range 0~2147483647.

Views

Developer view

Usage Guidelines

This command cannot be executed on the CLI to which you log in using the management IP address of the SVP. Before executing this command, use the management IP address to log in to the desired controller.

Example

  • Query information about all background space management tasks.
     
    developer:/>show space_task general  
    Name                     Id           Period       State        
    NOTIFY trigger timer     9            200          SCHEDULED 
    SPC_SNAP[0x0][1]         22           1000         SCHEDULED 
    SPC_SNAP[0xc][1]         18           1000         SCHEDULED 
    async del task           13           1000         SCHEDULED 
    dentry cache task        1            1000         SCHEDULED 
    FS IO retry timer        2            1000         SCHEDULED 
    quota tree scan task     7            1000         SCHEDULED 
    rep_task                 11           1000         SCHEDULED 
    async truncate task      14           1000         SCHEDULED 
    Rel scrub task           15           1000         SCHEDULED 
    FS_PERF_TASK             12           5000         SCHEDULED 
    NOTIFY retry timer       8            2000         SCHEDULED 
    SPC IO retry timer       16           2000         SCHEDULED 
    VAAI_TIMER               10           2000      SCHEDULED 
    worm cclock timer        3            5000         SCHEDULED 
    SNAPCTRL_AUTO_DELETE_12  20           20000        SCHEDULED 
    SNAPCTRL_AUTO_CREATE_0 23           -30000       SCHEDULED 
    SNAPCTRL_AUTO_DELETE_0 24           20000        SCHEDULED 
    worm global clock timer  4            10000        SCHEDULED 
    sync_task_0              21           30000        SCHEDULED 
    SNAPCTRL_AUTO_CREATE_12  19           -30000       SCHEDULED 
    worm scan timer          5            30000        SCHEDULED 
    worm_fingerprint_timer 6            30000        SCHEDULED 
    sync_task_12             17           30000        SCHEDULED 
    Total Task Count: 24 
     
  • Query information about background task "9".
    developer:/>show space_task general task_id=9 
    Task Address : 0xffff8801ca18fda0 
    Task Name : NOTIFY trigger timer 
    Task ID : 9 
    Task Period : 200 ms 
    Task Prior : LOW  
    Task State : SCHEDULED 
    Last Execution Time : 17442587 ns 
    Next Execution Time : 17442787 ns 
    Interval : 200 ns

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Name

Task name.

Id

Task ID.

Period

Period of the periodic task. ("0" indicates that the task is executed for only once. A value larger than 0 indicates that the task is executed with a fixed latency. A value smaller than 0 indicates that the task is executed at a fixed frequency.)

State

Task status.

Task Address

Task structure pointer.

Task Name

Task name.

Task ID

Task ID.

Task Period

Task period.

Task Prior

Task priority.

Task State

Task status.

Last Execution Time

Last execution time of the task.

Next Execution Time

Next execution time of the task.

Interval

Task execution interval.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138389

Views: 503975

Downloads: 85

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