Cmu_del_snapshots(8), Name, Synopsis – HP Insight Cluster Management Utility User Manual

Page 191: Description, Options, Examples

Advertising
background image

cmu_del_snapshots(8)

NAME

cmu_del_snapshots -- Delete monitoring snapshots from the history database.

SYNOPSIS

# /opt/cmu/bin/cmu_del_snapshots

[-h] | <-a timestamp | -b timestamp | -z>

[-v verbose] [-d dryrun] [-r]

DESCRIPTION

Delete monitoring snapshots from the history database.

OPTIONS

-h

show help

-a

delete all monitoring samples after a given timestamp

-b

delete all monitoring samples before a given timestamp

-z

reset database to zero, delete all samples

-d

dryrun, preview results

-r

use raw timestamps expressed as the number of seconds since the UNIX epoch

-v

verbose, give additional (internal) details about execution

EXAMPLES

IMPORTANT:

In most cases, the tool deletes more data than requested. The amount of data

deleted depends on the cluster size. Smaller cluster sizes are most likely to loose more data than
requested. Use the -d dryrun option to preview how much data will be removed.

# /opt/cmu/bin/cmu_del_snapshots -a "Mon Dec 10 16:00:00 CET 2012" -b

"Mon Dec 10 17:00:00 CET 2012" -d

Return code is 0 if operation succeeds, or 1 if not successful.

191

Advertising