statfileset

Displays the transaction statistics for one or more specified filesets.

Read syntax diagramSkip visual syntax diagram
>>-statfileset--+----------+--+------------------+-------------><
                +- –?----+  | .--------------. |
                +- –h----+  | V              | |
                '- –help-'  +---fileset_name-+-+
                              '- – ------------'

Parameters

–? | –h | –help
Displays a detailed description of this command, including syntax, parameter descriptions, and examples. If you specify a help option, all other command options are ignored.
fileset_name
Specifies the names of one or more filesets whose statistics you want to view.
Specifies that you want to read the names of one or more filesets from stdin (for example, – << /work/cnt_list.txt).

Description

If you run this command from an engine hosting a subordinate metadata server, you can only view fileset statistics associated with the local metadata server. If you run this command from the engine hosting the master metadata server, you can view fileset statistics associated with all metadata servers in the cluster.

A transaction is a work request that is handled by the metadata server. You can use the number of transactions performed by each fileset on the metadata server to aid in balancing the workload among all of the metadata servers in the cluster.

This command displays the following information for each fileset:
  • Name of the fileset.
  • Name of the metadata server serving the fileset.
  • Number of transactions that are in progress.
  • Number of transactions that have been stopped.
  • Number of transactions that have been retried.
  • Number of transactions that have been initiated since the metadata server started (including those transactions that are initiated during startup). This count includes the transactions that are in progress, stopped, and completed.
  • Number of transactions that completed successfully.

Example

Displaying number of transactions The following example displays the number of started and completed transactions for filesets being served by the local metadata server:
sfscli> statfileset

Name    Server   Current Transactions  Stopped  Retried  Started  Completed
===========================================================================
cnt_A   ST1                     12344      234      344   908798      87656
cnt_B   ST1                    234445    21344     3444  1098768     987689

Parent topic: Administrative commands

Related reference
autofilesetserver
attachfileset
chfileset
detachfileset
lsfileset
mkfileset
reportfilesetuse
rmfileset
setfilesetserver

Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.