Share via


Shutdown

The Shutdown option waits for any currently profiled process to end or detach, and then it turns the profiler off and closes the profiling data file. The Shutdown option must be the last command of a profiling run.

If a time-out parameter is not specified, the Shutdown option will wait indefinitely. If a time-out parameter is specified, the option returns after the specified number of seconds without turning the profiler off or closing the data file.

The Shutdown option must be the only option specified on the command line.

VSPerfCmd.exe /Shutdown[:Timeout]

Parameters

  • Timeout

    • (Optional) If specified, the option returns after the specified number of seconds without turning the profiler off or closing the profiling data file.

See Also

Reference

VSPerfCmd

Concepts

Command-Line Profiling of Stand-Alone Applications

Command-Line Profiling of ASP.NET Web Applications

Command-Line Profiling of Services