krsram

updated

15 years ago

K

krsram

25 Posts

0

1967

March 2nd, 2012 11:00

symstat question

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?)

  • 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.

  • krsram

    25 Posts

    1277

    0

    Posted March 2nd, 2012 11:00

    so I would just start this stordaemon and let run for xx amount of time and then show would print to screen output of collection??

  • krsram

    25 Posts

    1277

    0

    Posted March 2nd, 2012 11:00

    Thanks much!!!

  • krsram

    25 Posts

    1277

    0

    Posted March 2nd, 2012 11:00

    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.

  • Quincy561

    1281 Posts

    1277

    0

    Posted March 2nd, 2012 11:00

    AFAIK, you should be able to collect STP data with any host that has the base solutions enabler on it.

    stordaemon start storstpd

    stordaemon show storstpd

  • Quincy561

    1281 Posts

    1277

    0

    Posted March 2nd, 2012 11:00

    Wouldn't that

    symstat -i 60 c 5 sid xxx -dev $i

    command have to be run in the background?

    Better off just running everthing then filtering later, IMHO.

    Or how about just collecting STP data instead?

  • Quincy561

    1281 Posts

    1277

    0

    Posted March 2nd, 2012 12:00

    It is a bit more complicated than that.

    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.

  • krsram

    25 Posts

    1277

    0

    Posted March 2nd, 2012 12:00

    got it thanks. I'll explore this since I do use the perf analyzer for btp files...i need to do some reading on this, thanks!

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    1277

    1

    Posted March 2nd, 2012 19:00

    wouldn't it be simpler to put those devices in a device group and run symstat against it.