Home > Veritas Storage Foundation™ Cluster File System Manual Pages

ODMSTAT (1)

User Commands

Table of contents


NAME

odmstat - Veritas Oracle Disk Manager statistics utility

SYNOPSIS

odmstat [ -i interval [ -c count ] ] [ -r ] [ -o " local" ] filename

AVAILABILITY

Symantec Veritas Editions products.

DESCRIPTION

odmstat prints and resets statistics on one or more Veritas Oracle Disk Manager files. Statistics are recorded only for VxFS files, not for raw volumes or device files.

odmstat reads statistics for the Veritas Oracle Disk Manager files and prints them to standard output. These statistics show I/O activity since the last time the file was opened from the Veritas Oracle Disk Manager interface. Statistics are reset to zero when the last file open from the Veritas Oracle Disk Manager interface is closed.


OPTIONS

-c count
Stops after printing statistics count times.
-i interval
Prints updated I/O statistics every interval seconds. The first set of statistics reported are the totals since the last reset. Subsequent displays show the changes since the last report.
-r
Resets statistics instead of printing them. If interval was specified, the first set of statistics do not print because they were already reset to zero. Subsequent activity shows up in the statistics print as usual.
-o " local"
For a clustered file, the default behavior is to print the sum of the statistics from all the nodes in the cluster where this file is opened through the Veritas Oracle Disk Manager interface. With this option, only the local node statistics are printed. Similarly, if used along with -r option, only the local node statistics are reset.

Output Format

Summary statistics for each object are printed in single line output records, preceded by two header lines. The output line consists of blank-separated fields for the file name, and statistics on read and write operations:

If the -i interval option is supplied, statistics are prefaced with a time stamp showing the current local time on the system.


EXIT CODES

odmstat exits with a non-zero status if the attempted operation fails. A non-zero exit code is returned for the first condition that prevented execution of the utility.

EXAMPLES

Display statistics for all device files on the file system /mnt/oracle:

odmstat /mnt/oracle/\(**

Display five sets of I/O statistics at 10 second intervals:

odmstat -i 10 -c 5 /mnt/oracle/\(**


SEE ALSO

qiostat(1), odmmkfile(1).

Last updated: 19 Apr 2002
Copyright ©2009 Symantec Corporation
All rights reserved.