Results 1 to 6 of 6

Thread: how to START and stop profiler at specific time

  1. #1
    Join Date
    Sep 2002
    Posts
    159

    how to START and stop profiler at specific time

    Hi,

    We want trace ALL activity on prod
    server between 3:00 AM and 3:15 AM

    Profiler has stop time option ,but
    no start option.

    I am looking for example how it could be done

    Thank you

    Alex

  2. #2
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254

  3. #3
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    C:\Program Files\Microsoft SQL Server\80\Tools\Binn> profiler.exe /?

    You can schedule this using Windows Scheduler or sql Scheduler.

  4. #4
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    1. Define the trace in profiler, and save it as trace file for 2000.

    2. Open the trace file in query analyzer, add

    waitfor time '03:00:00'

    in the beginning,

    at then end add

    waitfor time '03:15:00'
    Attached Files Attached Files

  5. #5
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    1. Define the trace in profiler, and save it as trace file for 2000.

    2. Open the trace file in query analyzer, add

    waitfor time '03:00:00'

    in the beginning,

    at then end add

    waitfor time '03:15:00'
    Attached Files Attached Files

  6. #6
    Join Date
    Sep 2002
    Posts
    159
    thank a lot to everyone for quick help.

    I used example provieded by skhanal

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •