Command Line Reference Guide
152 vFoglight
Command-Line Reference Guide
Example
C:\Vizioncore\vFoglight\bin>fglcmd -usr foglight -pwd foglight
-cmd util:metricexport -output_format csv -metric_query
"CPU_User_Utilization from Windows_System_System_Table for 1
hour" -f my_metric_query.csv
Note If successful, this command does not generate any output in the Command Prompt window.
The above command creates a CSV file showing the value of the
CPU_User_Utilization metric for all known Windows_System_System_Table
objects that were collected in the past hour. The content of the generated CSV file will
be similar to the information in the following table:
metric_query
metric_query Contains the metric query. Typically, a metric
query specifies topology and object names and
collection periods as parameters to retrieve
metric observations. For full syntax
information, see the Administration and
Configuration Guide.
output_format
xml or csv Defines the output format of the file the query
is to be exported into: XML or CSV.
uniqueId
startTime
endTime
samplePeriod
count
min
max
avg
sum
sumSquares
stdDev
a307df8f-63e9-4b65-
a6d6-a50524a5544b
21:58.0 26:58.0 300000 111111 0
a307df8f-63e9-4b65-
a6d6-a50524a5544b
26:59.0 31:59.0 300000 122224 0
a307df8f-63e9-4b65-
a6d6-a50524a5544b
32:00.0 37:00.0 300000 122224 0
Option Argument Description










