If you wanted to put that data into a DPA report for further processing you can save it to a CSV and set up an external datasource which reads the CSV, but it may be that is the data you want.
If I understand what you want correctly this isnt something you can do from DPA because DPA doesn't track the contents of the savesets, but let me verify I am interpretting you correctly, you want to have a report which says of file system "X:" you want to be able to say:
*.doc 123 files
*.txt 345 files
*.tmp 678 files
...etc
If that is what you want you could approach this by parsing the file system or an output of the nsrinfo command and using sed to extract the last characters after the *. (then I have added uniq to only return uniq entries with the -c parameter to count each occurence)
David_Hampson_90e289
2 Intern
•
243 Posts
0
February 18th, 2011 01:00
If you wanted to put that data into a DPA report for further processing you can save it to a CSV and set up an external datasource which reads the CSV, but it may be that is the data you want.
David_Hampson_90e289
2 Intern
•
243 Posts
1
February 18th, 2011 01:00
Matan
If I understand what you want correctly this isnt something you can do from DPA because DPA doesn't track the contents of the savesets, but let me verify I am interpretting you correctly, you want to have a report which says of file system "X:" you want to be able to say:
*.doc 123 files
*.txt 345 files
*.tmp 678 files
...etc
If that is what you want you could approach this by parsing the file system or an output of the nsrinfo command and using sed to extract the last characters after the *. (then I have added uniq to only return uniq entries with the -c parameter to count each occurence)
nsrinfo -t savetime client|sed 's/\(*\.)./\2/'|uniq -c
You will need to verify my sed command as its not something I have been using for a while!
MatanAvital
3 Posts
0
February 19th, 2011 11:00
Hi David,
That is exactly what I meant to, I will give a try as soon as I can and update here.
Thank you very much,
Matan