sqadm fsck(1)

NAME

sqadm fsck - verify integrity of PC-lint Plus View objects

SYNOPSIS

sqadm fsck [-y] [-s op] [-D dir] [--jdbc-url url] [--jdbc-user user]

DESCRIPTION

This command verifies integrity of PC-lint Plus View objects. Issues are reported on stderr. Unless a resolution strategy has been supplied with the --strategy option, no corrective action is performed.

The following checks are performed:

  • Unreachable project folder - no database entry references this folder, can be safely removed.

  • Corrupted project (missing disk data) - a database entry references a missing folder. The project cannot be rebuilt without loosing information (metrics, status of findings, etc.).

The sqadm fsck command shall be executed on a stopped PC-lint Plus View server, but a running database.

OPTIONS

-y, --no-prompt

Do not prompt for confirmation.

-s, --strategy op

Strategy to apply on invalid objects. Only none (nothing is done) and trash (invalid objects are removed) are supported.

-D, --data-dir dir

Directory with PC-lint Plus View projects files (<PCLPVIEW_DATA>/projects).

--jdbc-url url

Use alternate database connection, with URL of the form jdbc:subprotocol:subname.

--jdbc-user user

Use alternate database username.