sizemon

Scans the whole or part of a database and reports any badly sized files.

Restrictions

You must be logged on to the host as the database owner.

If you are using Database Isolation, you must use realroot to select required instance of Reality before running sizemon.

Syntax

sizemon {options} {file {file...}}

sizemon {options} {-l} listfile

Parameters

file Specifies file to be scanned.

listfile Specifies a text file on the host containing a list of accounts and files to be scanned. See Rules for Setting Up List File.

Options

-d databaseSpecifies a database, other than the default, to be scanned. Default is specified in REALDBASE.

-a accountSpecifies logon account to be scanned. Default is specified in REALACC.

-s sizeReports any items greater than size blocks.

-o limitSets a lower limit on the average number of overflow blocks before reporting.

-c Calculates a new optimum modulo for any badly sized files.

-l Specifies a text file on the host containing a list of accounts and files to be included, or excluded, from being monitored.

-v Verbose mode.

Examples

sizemon {-d database} /SYSTEM

Scan the whole database (No inclusions or exclusions).

sizemon -a account

Scan all files in a specified account.

sizemon file1 file2

Scan specified files. Files must be specified in /account/file format.

sizemon -a account file1 file2

Scan specified files in a specified account. File names must not be in /account/file format.

sizemon -l listfile

Scan account(s) and file(s) listed in the host text file listfile. The syntax of the list file is described below.

Rules for Setting Up List File

The list file is a host text file containing a list of accounts to be included or excluded from the scan. The following rules apply:

The rules for formatting the List File are as follows:

Example List File

#Example list
ACCOUNTA - # Exclude this account.
ACCOUNTB   # Include all of this account.
ACCOUNTC   # Include only the files listed.
+ FILEC1
+ FILEC2
ACCOUNTD   # Include all files in account except those
- FILED1   # listed.
- FILED2