Go to main content

マニュアルページ セクション 8: システム管理コマンド

印刷ビューの終了

更新: 2022年7月27日
 
 

etracestat (8)

名前

etracestat - report end-to-end tracing statistics

形式

etracestat show-server [-c] [[-p] [-o field[,...]] [interval [count]]
etracestat show-client [[-p] [-o field[,...]] [interval [count]]
etracestat help [subcommand-name]

説明

The etracestat command reports runtime end-to-end tracing statistics.

オプション

The interval at which the output is updated is specified through the optional <interval> argument. The optional <count> argument can also be used to specify the number of updates which should be printed by the command before it terminates.

Every subcommand supports the following set of options:

–o field[,...]

If specified, lists the statistics fields which should be displayed. The fields supported by each subcommand are listed below.

–p

Displays output in a stable and machine-parseable format. The –o option is required with along with –p option.

サブコマンド

etracestat supports the following command forms:

show-server [–c] [[–p] [–o field[,...]] [interval [count]]

Displays the server statistics. The output depends on the options specified. The following fields are supported by this subcommand:

EVENTS

Total number of event received.

EVENTSERR

Total number of events which were discarded because they were corrupted.

EVENTSBYTES

Amount of event data in bytes received by server.

EVENTSDROPPED

Number of events dropped by server due to overload condition.

TRACES

Total number of traces assembled.

TRACESERR

Traces which failed to be assembled, for example due to missing events.

CLIENT

IP address of the tracing client.

When the –c option is specified, the command displays a per-client breakdown of the statistics. Only the CLIENT, TRACES, and TRACESERR fields are supported with that option.

When the –o option is not specified, only the EVENTS, TRACES, and TRACESERR traces are displayed.

show-client [–p] [[–o field[,...]] [interval [count]]

Displays the client statistics. The following fields are supported by this subcommand:

EVENTS

Total number of events sent to the server.

EVENTSBYTES

Amount of event data in bytes sent by client.

help [subcommand-name]

Displays all the etracestat supported subcommands or usage for the given subcommand. If you invoke help for a specific subcommand, the command syntax is displayed, along with an example. Using etracestat help without any argument displays all the subcommands.

使用例 1 Displaying the Server Statistics

The following command displays the server statistics.

# etracestat show-server
      SERVER     TRACES  TRACESERR     EVENTS  EVENTSDROPPED
       local     181230         12    4884988              0
使用例 2 Displaying the Server Per-Client Statistics

The following command displays the server per-client statistics.

# etracestat show-server -c
      SERVER               CLIENT     EVENTS  EVENTSERR  EVENTSDROPPED
       local         192.168.1.10    1547340          0              0
       local         192.168.1.10    3337668          0              0
使用例 3 Displaying the Client Statistics

The following command displays the client statistics.

# etracestat show-client
      CLIENT         EVENTS
       local              0

属性

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/etrace
Interface Stability
See below

Screen output is Uncommitted. The invocation is Committed.

関連項目

etraced(8)