Scroll to navigation

SCADB(8) Supportconfig Analysis Manual SCADB(8)

NAME

db - Supportconfig Analysis Database Tool

SYNOPSIS

db [OPTIONS]

DESCRIPTION

The db command is used for database maintenance. It is run as the scdiag user, but can be run as root too.

OPTIONS

Show this help screen.
Checks, optimizes and repairs tables
Truncates Archives and Results, resets Agents and AgentWorkers
Creates a mysqldump file of the ServerDiagnostics database
Supports a custom query
Imports the file a MySQL file
Deletes old archives greater than integer days old
Deletes archive with integer ArchiveID
Activates all agents and clears the agent threads
Creates an HTML report file for Archive ID int.
Shows pending archives with optional integer row limit
Shows active archives with optional integer row limit
Shows completed archives with optional integer row limit
Shows errored archives with optional integer row limit
Resets an archive to be analyzed again. The archive's results are deleted and the archive is set to a New state.
Sets the archive state to error with Archive ID integer. The worker threads are cleaned up.
Sets the archive state to done with Archive ID integer.
Increases the number of agent threads by integer amount on the agent with ID agent_id.
Decreases the number of agent threads by integer amount on the agent with ID agent_id.

AUTHOR

Jason Record <jrecord@suse.com>

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>.

SEE ALSO

sdbroker(8)

20 Mar 2014 sca-appliance-broker