4 - MODE OPTIONS

Mode options modify the behavior of an Action option. They take no values. Each Mode option is meaningful only with specific actions; the relevant action is noted with each one below.

Mode Option -AW (-AnyWhere) :

used with -AC (-AddCheck): leave the check’s working directory empty so the command may run from any location.

Mode Option -BG (-BackGround) (Alias: -b) :

run as a background process and suppress all screen output and error messages.

Mode Option -CP (-CheckPending) :

used with -PC (-ProcessCheck): identify and kill checks that have been pending too long.

Mode Option -CS (-CheckStatus) :

used with -GC (-GetCheck): include detailed status for each check, including progress percentage for running commands and error messages for failed ones.

Mode Option -FI (-ForceInterrrupt) :

required with -IC (-InterruptCheck) to actually interrupt a check that is currently being processed; without it, dscheck prints a warning instead of interrupting.

Mode Option -FO (-FormatOutput) :

used with Get-style actions (-GD, -GC): pad each column to a uniform width computed from the data, for readability.

Mode Option -LO (-LogOn) :

used with -PC -DM start: enable detailed daemon logging from startup. Detailed logging is off by default.

Mode Option -MD (-MyDataset) :

allows a specialist to access check information for a dataset owned by a different specialist.

Mode Option -NC (-NoCommand) (Alias: -NoRemoteCommand) :

used with -PC: skip the actual remote command execution (dry run).

Mode Option -ND (-NewDaemon) :

required with -SD (-SetDaemon) when the daemon control index is 0, so that a new daemon control record is created. This guard prevents creating records by accident.

Mode Option -NT (-NoTrim) :

skip stripping spaces and comments from input values when reading input files; this speeds up parsing of large input files.

Mode Option -WR (-WithdsRqst) (Alias: -WithRequest) :

used with -PC (-ProcessCheck) in non-daemon mode:

Mode Option -WU (-WithdsUpdt) (Alias: -WithUpdate) :

used with -PC (-ProcessCheck) in non-daemon mode: