What command line options are available with Altiris Profiler?

book

Article ID: 181574

calendar_today

Updated On:

Products

Management Platform (Formerly known as Notification Server)

Issue/Introduction

 

Resolution

Question
What command line options are available with Altiris Profiler?

Answer

Altiris Profiler Command Line Options

Usage:

    Profiler.exe [ <options> | :<preset mode> ]

Profiler Mode Options:

    -t <type>: Trace type (SQL, Code, Partial, PartialErrors, PerformanceCounters, Both, None).
    -c: Console mode.
    -p <filename>: Console mode project file.
    -0 [<directory path>]: Zero impact mode (no data stores).
    -1: Import zero impact buffers.
    -f: Use fast importer.
    -u: Launch UI after profiling.
    -r [<html path>]: Run performance report after profiling.
    -m [<html path>]: Run executive summary report after profiling.
    -z <report name> [<html path>]: Run the named report at startup.
    -e <period>: Profile for a set period.
    -s <start time>: Start profiling at the given time.
    -w: Skip check for multiple Profiler processes.
    -i <command>: Profiler command (Start, Stop, Shutdown, Wait, ShutdownWait).
    -a <mode>: Auto-update mode (Always, Skip).
    -v <mode>: Service restart mode (Always, Yes, No).
    -o: Disable performance counters.
    -n: Nested SQL filter enabled by default.
    -x <ms duration>: Default SQL duration filter (in milliseconds).
    -y <ms duration>: Default code duration filter (in milliseconds).
    -l: Log to file.
    -d <buffer file>: Import buffer file (requires -c).
    -b: Non-interactive mode.

Preset Modes:

    0: Equivalent to “-c -0 -t Partial”.
    1: Equivalent to “-c -0 -t Both”.
    2: Equivalent to “-c -0 -t PartialErrors”.
    3: Equivalent to “-c -t None -m -r”.

Sample:

The sample command below will execute profiler in Console mode, capturing both SQL and Code traces, using Zero Impact mode to write the .buffer files to the c:\temp\ folder, starting at 12:08p, for a duration of 2 minutes:

profiler.exe -c -t Both -0 c:\temp\ -s 12:08:00 -e 00:02:00