Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If I run:
dfm report view -g4481 -s"Total Ops/Sec" volumes-performance-summary
I get the most recent sampling of performance data for the volums in that group id.
Anyone know what I can add to this command to get data for the entire day, week, 3 month or year?
Solved! See The Solution
1 ACCEPTED SOLUTION
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
Took a little while but I found the answer, there is a -P switch that got missed from the cli help, see below.
For example I used: dfm report view -P 1m disks-performance-summary
In cli there is an options to do this.
The option is -P but some how this got missed in the cli help and man pages.
This is fixed in one of the upcoming release(cli help and man pages)
But still the option works in 3.7 and 3.8 releases of DFM.
Below is the option name and its possible values.
-P time frame signifies the period to fetch performance data.
Valid values are 'last, 1d, 1w, 1m, 3m and 1y'. This option
is valid only in conjunction with performance reports.
Below is the help of the fixed cli.
NAME
view -- Generate one of several reports
SYNOPSIS
dfm report view [ <options> ] <report-name> [ <report-arguments> ... ]
DESCRIPTION
The report command runs one of several pre-defined searches
and presents the results.
Use 'dfm report list' to get the list of reports.
Use 'dfm report view <report-name> help' to see
the description of a report.
The options are
-g <group-id or group-name>
-F <output-format>
-l <lines>
-q (quiet)
-s <sortby-field>
-x (show all fields; only in perl output format)
-N <repeat-for>
-i <repeat-interval>
-t <timeout> (in seconds; for streaming reports)
-H show deleted objects
-P time frame signifies the period to fetch performance data.
Valid values are 'last, 1d, 1w, 1m, 3m and 1y'. This option
is valid only in conjunction with performance reports.
5 REPLIES 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If it was a graph you could suffix -1w to the report name (e.g. "dfm graph -F gif cpu-1w > c:\temp\cpugraph.gif") and it would show you a week's worth. Not sure if that will work for a report, give it a try.
Other suffixes are -1d, -1m, -3m, -1y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yeah, I tried that too. Doesn't work.
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
Took a little while but I found the answer, there is a -P switch that got missed from the cli help, see below.
For example I used: dfm report view -P 1m disks-performance-summary
In cli there is an options to do this.
The option is -P but some how this got missed in the cli help and man pages.
This is fixed in one of the upcoming release(cli help and man pages)
But still the option works in 3.7 and 3.8 releases of DFM.
Below is the option name and its possible values.
-P time frame signifies the period to fetch performance data.
Valid values are 'last, 1d, 1w, 1m, 3m and 1y'. This option
is valid only in conjunction with performance reports.
Below is the help of the fixed cli.
NAME
view -- Generate one of several reports
SYNOPSIS
dfm report view [ <options> ] <report-name> [ <report-arguments> ... ]
DESCRIPTION
The report command runs one of several pre-defined searches
and presents the results.
Use 'dfm report list' to get the list of reports.
Use 'dfm report view <report-name> help' to see
the description of a report.
The options are
-g <group-id or group-name>
-F <output-format>
-l <lines>
-q (quiet)
-s <sortby-field>
-x (show all fields; only in perl output format)
-N <repeat-for>
-i <repeat-interval>
-t <timeout> (in seconds; for streaming reports)
-H show deleted objects
-P time frame signifies the period to fetch performance data.
Valid values are 'last, 1d, 1w, 1m, 3m and 1y'. This option
is valid only in conjunction with performance reports.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Awesome! That does exactly what I needed. Thanks so much Dominic!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I also used the -P option to define a months worth of datacollection. But the output I receive, is that a maximum value for the entire month or an average?
Cheers,
P
