CLI 参考 > 配置管理命令 > si viewmetricsinfo
  
si viewmetricsinfo
displays information about the metrics being tracked
Synopsis
si viewmetricsinfo [--fields=field1[:width1],field2[:width2]...] [--hostname=server] [--port=number] [--password=password] [--user=name] [(-?|--usage)] [(-F file|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [(-g|--gui)] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]]
Description
si viewmetricsinfo displays information about the metrics created using si createmetricinfo.
* 
Metrics are only supported for database type repositories.
Options
This command takes the universal options available to all si commands, as well as some general options. See the options reference page for descriptions.
--fields=field1[:width1],field2[:width2]...
allows you to select fields to be printed, specified in the format field1[:width1],field2[:width2].... Specifying the column [:width] (in pixels) for each field is optional - widths are only available with the -g or --gui options. Under the CLI the fields are separated with a space.
The fields available for printing can be one or more of the following:
description
displays the description of the metric.
metric
displays the value of the metric.
Diagnostics
See the diagnostics reference page for possible exit status values.
Preferences
Using si setprefs or si viewprefs, you are able to set or view the preference keys for this command.
See Also
Commands: si createmetricinfo, si calculateprojectmetrics, si viewprojectmetrics, si addprojectmetric
Miscellaneous: diagnostics, options, preferences