EVAPerf – Stats Collection script

Print Friendly, PDF & Email

Below is a windows script that can be used to collect stats for all arrays managed by a CV server and and save them in a folder.  A single folder for each array is created, and each folder contains several csv files for individual parameters such as vdisks, controllers, hard drives etc.

Schedule this script under “Scheduled tasks” to run every 24 hours. The user should have the admin rights under Command View.


FOR /F “tokens=1,2,3,4 delims=/- ” %%a in (‘date/T’) do set CDATE=%%c-%%b-%%d
set CURRENTDIR=C:\PERFSTATS
set directory=%CURRENTDIR%\%CDATE%
echo “Creating directory %directory%”
mkdir “%directory%”
echo “Creating friendly names for EVAs on CVSERVER1”
“C:\Program Files (x86)\Hewlett-Packard\EVA Performance Monitor\evaperf” fn
“C:\Program Files (x86)\Hewlett-Packard\EVA Performance Monitor\evaperf” mof -csv -ts2 -cont 300 -dur 86400 -od “%directory%”

, ,

sanaswati

2 Responses to “EVAPerf – Stats Collection script”


  1. Fatal error: Uncaught Error: Call to undefined function ereg_replace() in /home/customer/www/sanspire.com/public_html/wp-content/themes/swatch/includes/theme-comments.php:63 Stack trace: #0 /home/customer/www/sanspire.com/public_html/wp-content/themes/swatch/includes/theme-comments.php(19): the_commenter_link() #1 /home/customer/www/sanspire.com/public_html/wp-includes/class-walker-comment.php(183): custom_comment(Object(WP_Comment), Array, 1) #2 /home/customer/www/sanspire.com/public_html/wp-includes/class-wp-walker.php(147): Walker_Comment->start_el('', Object(WP_Comment), 1, Array) #3 /home/customer/www/sanspire.com/public_html/wp-includes/class-walker-comment.php(139): Walker->display_element(Object(WP_Comment), Array, '5', 0, Array, '') #4 /home/customer/www/sanspire.com/public_html/wp-includes/class-wp-walker.php(390): Walker_Comment->display_element(Object(WP_Comment), Array, '5', 0, Array, '') #5 /home/customer/www/sanspire.com/public_html/wp-includes/comment-template.php(2391): Walker->paged_walk(Array, '5', 0, 0 in /home/customer/www/sanspire.com/public_html/wp-content/themes/swatch/includes/theme-comments.php on line 63