beautypg.com

Snapshot script (snapshot), Snapshot usage, Snapshot sample output – HP XP Performance Advisor Software User Manual

Page 73

background image

Snapshot script (SNAPSHOT)

This command enables you to obtain Snapshot Pool related information. This command provides the

Snapshot pool occupancy value in percentage.

SNAPSHOT usage

Following is the general format of the command to invoke the script:
snapshot -dkc -pid [-auth ] [-ms

] [-L] [-d] [-hr] [-?]

[-pf ]

where:

–pid

The snapshot pool ID that is being queried.

–ms

The URL of the management station.

–auth

The username and password.

–pf

Can be used in place of –auth.

NOTE:

The password file must be created using the encrypt command only.

–d

The delimiter for delimited display.

–hr

Displays human-readable output.

–?

Prints the usage statement.

NOTE:

The -st and –et options are supported with the –pid option only. The array serial number and –dkc

are required elements.

SNAPSHOT sample output

The following are output data samples for the CLUI shell script described in the previous section:

snapshot dkc -hr

PoolID Occupancy(%)

0

25

1

40

snapshot dkc -L

0,25

1,40

snapshot dkc -pid 1

2006-02-23 16:10:00.0: 10

2006-02-23 16:15:00.0: 25

2006-02-23 16:20:00.0: 20

2006-02-23 16:25:00.0: 25

2006-02-23 16:30:00.0: 30

2006-02-23 16:35:00.0: 25

2006-02-23 16:40:00.0: 40

2006-02-23 16:45:00.0: 40

2006-02-23 16:50:00.0: 40

2006-02-23 16:55:00.0: 50

snapshot dkc -pid 1 st 02.23.2006 16:00:00 et 02.23.2006 16:15:00

2006-02-23 16:10:00.0: 10

2006-02-23 16:15:00.0: 25

HP StorageWorks Performance Advisor XP Software command-line user interface user guide

73