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
Can I use the dfm command to automate performance view creation? If so, can you supply an example?
Thanks,
Brian
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
Yes, You can do that. Here you go...
You need to use "dfm perf view create" command for that.
# dfm perf view create -c f270c-filer:system:system:cpu_busy cpuview 300 172800
View cpuview created successfully
The above view is created with the name "cpuview" for 5 mins (300 secs) sample rate with 2 days (172800 secs) sample buffer.
NAME
create -- create a new view
SYNOPSIS
dfm perf view create [ -c <counter-name> | -d -C <perf-counter> ] [ -t <chart-name> ]
<view-name> <sample-rate> <sample-buffer>
DESCRIPTION
create a new performance view
sample-rate and sample-buffer should be specified in seconds
Use -d along with the -C option to create dynamic top-N chart
The format of perf-counter is <object-name>:<counter-name>:<label1-name>:<label2-name>
Use -S to create a view with an events block
Use -t to specify the name of the chart to which the
counter should be added.
Regards,
Saravanan
1 REPLY 1
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, You can do that. Here you go...
You need to use "dfm perf view create" command for that.
# dfm perf view create -c f270c-filer:system:system:cpu_busy cpuview 300 172800
View cpuview created successfully
The above view is created with the name "cpuview" for 5 mins (300 secs) sample rate with 2 days (172800 secs) sample buffer.
NAME
create -- create a new view
SYNOPSIS
dfm perf view create [ -c <counter-name> | -d -C <perf-counter> ] [ -t <chart-name> ]
<view-name> <sample-rate> <sample-buffer>
DESCRIPTION
create a new performance view
sample-rate and sample-buffer should be specified in seconds
Use -d along with the -C option to create dynamic top-N chart
The format of perf-counter is <object-name>:<counter-name>:<label1-name>:<label2-name>
Use -S to create a view with an events block
Use -t to specify the name of the chart to which the
counter should be added.
Regards,
Saravanan
