LID - User Manual - Command Line Help

<< Previous

LID is a simple command line program that you configure and run with various command line arguments and switches. If you run LID without any command line arguments you get a help screen similar to the one shown here:

LID.exe - Version: 1.0 [Build: 1234]
Copyright (c) 2011 JetByte Limited
See http://www.LockExplorer.com for more details and updates.

-exe is required

Usage: LID.exe -exe ProgramToTest.exe

Command line parameters:
 r -exe                        The program to check for lock inversions,
                               place in quotes if it contains spaces
 o -args                       Arguments to pass to the program,
                               place in quotes if more than one.
 o -dir                        The working directory for the program,
                               place in quotes if it contains spaces
 o -out                        The name of the output file, defaults to
                               LID.log
 o -captureOut                 If specified, target process output (stdout)
                               will be caputured to the specified file, and
                               also reported at the end of the test.
 o -captureErr                 If specified, target process error output
                               (stderr) will be caputured to the specified
                               file, and also reported at the end of the
                               test.
 o -skipSingleThread           Ignores lock inversions that only occur
                               in calls from a single thread.
 o -raw                        Display raw data rather than fully reduced.
 o -reduce1                    Display partially reduced data.
 o -reduce2                    Display partially reduced data.
 o -dump                       Create a crash dump of the process
                               if an unhandled exception occurs.
 o -wait                       Pauses at the end until a key is pressed.
 o -noProgress                 Do not show progress when looking for
                               inversions.
 o -threads                    Specify the maximum number of threads to use
                               when looking for inversions after the target
                               completes.
                               Defaults to '0', which results in one thread per
                               processor. Note that due to the CPU intensive
                               nature of the scanning you can not specify more
                               threads than you have processors.
 o -noCS                       Do NOT monitor Critical Sections.
 o -noSRW                      Do NOT monitor Slim Reader Writer Locks.
 o -noMUT                      Do NOT monitor Mutexes.

 r = required, o = optional
<< Previous

Latest News

New release of deadlock detection tools - 1.3.0.406
We've released new versions of both our Lock Inversion Detector, LID and our Lock Inversion Analyser, LIA today. This…
New release of deadlock detection tools - 1.2.0.329
We've released new versions of both our Lock Inversion Detector, LID and our Lock Inversion Analyser, LIA today. This…
New release of deadlock detection tools - 1.2.0.320
We've released new versions of both our Lock Inversion Detector, LID and our Lock Inversion Analyser, LIA today. This…