QUERY PROCESS(查詢一或多個伺服器處理程序)

請使用這個指令來顯示作用中背景處理程序的相關資訊。

如果要取消背景處理程序,請發出 CANCEL PROCESS 指令。 如果要顯示節點抄寫處理程序的詳細資訊,請發出 QUERY REPLICATION 指令。

專用權類別

任何管理者均可以發出此指令。

語法

讀取語法圖表略過語法圖表
>>-Query PRocess--+----------------+---------------------------->
                  '-process_number-'   

>--+------------------------+--+-------------------+-----------><
   '-DESCription--=--string-'  '-STATus--=--string-'   

參數

process_number
指定所查詢的背景處理程序編號。 此為選用參數。 如果未指定,則會顯示所有背景處理程序的相關資訊。
DESCription
指定您要在作用中處理程序的說明清單中搜尋的字串。 若字串表示式包含空格,請用引號括住它。 您可以使用文字及萬用字元來指定這個字串。 此為選用參數。
STATus
指定您要在作用中處理程序的狀態清單中搜尋的字串。 若字串表示式包含空格,請用引號括住它。 您可以使用文字及萬用字元來指定這個字串。 此為選用參數。

範例:查詢單一背景處理程序

顯示背景處理程序 202 的相關資訊。 如需欄位說明,請參閱欄位說明
query process 202
Process   Process              Process
Number    Description          Status
--------  -------------        ---------
     202  EXPORT SERVER        ANR0NNNI EXPORT
                               Identifier MYEXPORTSERVER
                               ANR0648I Have copied the
                               following: 8 Domains 2
                               Policy Sets 10 Management
                               Classes 4 Copy Groups 1
                               Administrators 746 Bytes
                               (0 errors have been
                               detected) Current input
                               volume(s): C:\BUILD\540\
                               GA\BUILD\NT\I386\DEBUG\
                               -00000014.BFS,(6 Seconds)

範例:查詢所有背景處理程序

顯示所有背景處理程序的相關資訊 如需欄位說明,請參閱欄位說明
查詢處理程序
Process   Process              Process
Number    Description          Status
--------  --------------       ---------
     304  IDENTIFY DUPLICATES  Storage Pool
                               FILEPOOL, Volume
                               /tsmpool2/00006664.
                               BFS, Files Processed:
                               2000, Duplicate Extents
                               Found: 344, Duplicate
                               Bytes Found: 3,238,123,
                               Current Physical File
                               (bytes): 2,626,676,296.
                               Status: Processing

     284  IDENTIFY DUPLICATES  Storage Pool
                               FILEPOOL, Volume
                               /tsmpool2/00006666.
                               BFS, Files Processed:
                               2000, Duplicate Extents
                               Found: 344, Duplicate
                               Bytes Found: 3,238,123,
                               Current Physical File
                               (bytes): None.
                               Status: Idle

       4  Replicate Node       Replicating Node(s) IRONMAN. 
                               File spaces complete: 0. File
                               spaces identifying and
                               replicating: 1. File spaces
                               replicating: 0. File spaces
                               not started: 3. Files current:
                               11,920. Files replicated: 0
                               of 0. Files updated: 0 of 0.
                               Files deleted: 0 of 0. Amount
                               Replicated: 11,482 KB of 11,482
                               KB. Amount transferred: 11,482 KB.
                               Elapsed time: 0 Day(s), 0 Hour(s),
                               1 Minute(s).

      37  Expiration           Processed 12 nodes out of 30 total
                               nodes, examined 411 objects,  
                               deleting 411 backup objects,
                               0 archive objects,
                               0 DB backup volumes,
                               0 recovery plan files;
                               0 objects have been retried and
                               0 errors encountered.

範例:查詢所有背景抄寫處理程序

顯示所有背景抄寫處理程序的相關資訊。 如需欄位說明,請參閱欄位說明
query process desc="replicate node"
Process   Process              Process
Number    Description          Status
--------  --------------       ---------
       4  Replicate Node       Replicating Node(s) IRONMAN. 
                               File spaces complete: 0. File
                               spaces identifying and
                               replicating: 1. File spaces
                               replicating: 0. File spaces
                               not started: 3. Files current:
                               11,920. Files replicated: 0
                               of 0. Files updated: 0 of 0.
                               Files deleted: 0 of 0. Amount
                               Replicated: 11,482 KB of 11,482
                               KB. Amount transferred: 11,482 KB.
                               Elapsed time: 0 Day(s), 0 Hour(s),
                               1 Minute(s).

範例:查詢特定節點的所有背景抄寫處理程序

顯示所有背景抄寫處理程序的相關資訊。 如需欄位說明,請參閱欄位說明
query process desc="replicate node" status=ironman
Process   Process              Process
Number    Description          Status
--------  --------------       ---------
       4  Replicate Node       Replicating Node(s) IRONMAN. 
                               File spaces complete: 0. File
                               spaces identifying and
                               replicating: 1. File spaces
                               replicating: 0. File spaces
                               not started: 3. Files current:
                               11,920. Files replicated: 0
                               of 0. Files updated: 0 of 0.
                               Files deleted: 0 of 0. Amount
                               Replicated: 11,482 KB of 11,482
                               KB. Amount transferred: 11,482 KB.
                               Elapsed time: 0 Day(s), 0 Hour(s),
                               1 Minute(s).

範例:驗證是否已起始抄寫回復處理程序

啟動節點抄寫處理程序(啟用檔案回復)之後,請驗證目標抄寫伺服器是否已起始檔案回復處理程序。 在目標抄寫伺服器上發出 QUERY PROCESS 指令。 如需欄位的說明,請參閱欄位說明
查詢處理程序
Process   Process Description      Process Status
號碼
--------  -------------------   -------------------------------------
4           Replicate Node -                    Replicating node(s) 3MAUTOIMPORT.
          Recovery.             File spaces complete: 87.
                                File spaces identifying and
                                replicating: 0.
                                File spaces replicating: 6.
                                File spaces not started: 0.
                                Files current: 0.
                                Files replicated: 0 of 14.
                                Files updated: 0 of 0.
                                Files deleted: 0 of 0.
                                Amount replicated: 0 KB of 11,688 bytes.
                                Amount transferred: 0 KB. 
                                Elapsed time:
                                0 Day(s), 0 Hour(s), 1 Minute(s).

範例:驗證在抄寫處理程序期間是否回復損壞檔

啟動節點抄寫處理程序(啟用檔案回復)之後,請驗證是否正在回復損壞檔。 在來源抄寫伺服器上發出 QUERY PROCESS 指令。 如需欄位的說明,請參閱欄位說明
查詢處理程序
Process   Process Description      Process Status
號碼
-------   -------------------   ------------------------
6           Replicate Node                      Recovering damaged files
          ( As Secondary                      from server SERVER2,
           Recovery )                          process 4, number of active sessions 10.
AIX 作業系統Linux 作業系統Windows 作業系統

範例:驗證是否正在轉換檔案

開始儲存區轉換程序之後,請驗證是否正在轉換檔案。 如需欄位的說明,請參閱欄位說明
查詢處理程序
Process   Process              Process
Number    Description          Status
-------  ---------------   ------------------------------------
6        Convert Stgpool   Converting storage pool FILEPOOL1
                           to directory-container storage pool
                           NEWDEDUP1. Volumes Converted: 1 of 6,
                           Volumes Failed: 0, Converted Files: 975, Converted
                           Bytes: 196.27 MB, Skipped Files: 0,
                           Skipped Bytes: 0 B, Total Bytes
                           Transferred: 151.27 MB

7        Convert Stgpool   Converting storage pool DEDUPPOOL to
                           目錄儲存器儲存區
                           DIRPOOL. Converted Files:  150 of 360,
                           Converted Bytes: 79,598 KB of 388 MB.
                           Unconverted Files: 12. Unconverted
                           Bytes: 27 MB. Current input volume:
                           /fvt/srv/BK01. Elapsed time: 0 Day(s),
                           0 Hour(s), 1 Minute(s).

8         Convert Stgpool  Converting storage pool FILEPOOL1 to
                           目錄儲存器儲存區
                           NEWDEDUP1. Converted Files: 0,
                           Converted Bytes: 0 B of 1.00 GB,
                           Skipped Files: 0, Skipped Bytes: 0 B,
                           Total Bytes Transferred: 0 B,
                           Current input volume:
                           /STORAGE/file1/00000005.BFS,
                           Elapsed time: 0 Days, 0 Hours, 1 Minutes.

10        Convert Stgpool  Converting storage pool FILEPOOL1 to
                           目錄儲存器儲存區
                           NEWDEDUP1. Converted Files: 1007,
                           Converted Bytes: 285.44 MB of 1.33 GB,
                           Skipped Files: 0, Skipped Bytes: 0 B,
                           Total Bytes Transferred: 196.28 MB,
                           Current input volume:
                           /STORAGE/file1/00000004.BFS,
                           Elapsed time: 0 Days, 0 Hours, 1 Minutes.
AIX 作業系統Linux 作業系統Windows 作業系統

範例:驗證從本端磁碟到雲端的移動

從本端磁碟到雲端的資料傳送作業開始之後,驗證資料是否在移動。 如需欄位的說明,請參閱欄位說明
查詢處理程序
 
Process   Process              Process
Number    Description          Status
-------   --------------   ----------------------------------------
4         Local to Cloud   Local disk to cloud transfer for 
          Transfer         directory-container storage pool
                           CLOUDPOOL. 1 container(s) processed.
                           2,100 KB in 4 data extent(s) transferred.
                           Elapsed time: 0 Day(s), 0 Hour(s),
                           1 Minute(s).

欄位說明

Process Number
指定指派給作用中背景處理程序的號碼。
Process Description
指出作用中背景處理程序的說明。
Process Status
指定作用中背景處理程序的狀態。
提示: 當在目標抄寫伺服器上完成節點抄寫處理程序時,僅會將結束處理程序資訊儲存在活動摘要表格中。 抄寫處理程序的完整摘要會儲存在來源抄寫伺服器上的活動摘要表格中。

相關指令

表 1. QUERY PROCESS 的相關指令
指令 說明
CANCEL EXPORT 刪除已暫停的匯出作業。
CANCEL PROCESS 取消背景伺服器處理程序。
IDENTIFY DUPLICATES 識別儲存區中重複的資料。
QUERY EXPORT 顯示目前在執行中或已暫停的匯出作業。
QUERY REPLICATION 顯示節點抄寫處理程序的相關資訊。
QUERY REPLNODE 顯示用戶端節點的抄寫狀態的相關資訊。
RESTART EXPORT 重新啟動已暫停的匯出作業。
SUSPEND EXPORT 暫停執行中的匯出作業。