I need to run symstat for perf data on a list of 8 devices for a couple of nights during backup run. Can I specifiy the 8 devices with symstat? will this work : #symstat -i 60 -c 5 sid xxx -dev 03D1 03E9 0401 0419 A9 04F1 (or do I need comma? or is it better just run #symstat -i 60 -c 5 sid xxx (and then yank the other devices info later with vi?)
we have to pay for stp data collection..., for the job i can ran as batch through our scheduling or in cron, our scheduling only allows for 1 time every 15 minutes, so may need to run the symstat for longer like 300s at a time.
You have to look at the collection options first, and make changes using
stordaemon setoption storstpd -name =
Then shutdown and restart the daemon
stordaemon shutdown storstpd
stordaemon start storstpd
Then let it run for as long as you need and then shutdown again before you look at the ttp.gz file.
The best way to look at the ttp file is with performance viewer that comes with ECC. Otherwize the ttp is a text file you could find some way to parse through.
KD8EWE
2 Intern
•
155 Posts
1277
0
Posted March 2nd, 2012 11:00
write a script
something like
create /tmp/devices.txt (includes all your devices example content of your devices.txt)
03D1
03E9
0401
0419
A9
04F1
for i in /tmp/devices.txt
do
symstat -i 60 c 5 sid xxx -dev $i
done
save the above in smstat.ksh
run ./smstat.ksh > result .out.
Hope this helps.