This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > %Monitor.System.Freespace

%Monitor.System.Freespace

class %Monitor.System.Freespace extends %Monitor.System.Adaptor

Property Inventory

Method Inventory

Properties

property CurSize as %Monitor.Integer;
Current size (MB)
Property methods: CurSizeDisplayToLogical(), CurSizeGet(), CurSizeIsValid(), CurSizeLogicalToDisplay(), CurSizeNormalize(), CurSizeSet()
property DBName as %Monitor.String;
Name of dataset
Property methods: DBNameDisplayToLogical(), DBNameGet(), DBNameIsValid(), DBNameLogicalToDisplay(), DBNameLogicalToOdbc(), DBNameNormalize(), DBNameSet()
property Directory as %Monitor.String;
Name of directory
Property methods: DirectoryDisplayToLogical(), DirectoryGet(), DirectoryIsValid(), DirectoryLogicalToDisplay(), DirectoryLogicalToOdbc(), DirectoryNormalize(), DirectorySet()
property DiskFreeSpace as %Monitor.Integer;
Disk space available (MB)
Property methods: DiskFreeSpaceDisplayToLogical(), DiskFreeSpaceGet(), DiskFreeSpaceIsValid(), DiskFreeSpaceLogicalToDisplay(), DiskFreeSpaceNormalize(), DiskFreeSpaceSet()
property FreeSpace as %Monitor.Integer;
Freespace available (MB)
Property methods: FreeSpaceDisplayToLogical(), FreeSpaceGet(), FreeSpaceIsValid(), FreeSpaceLogicalToDisplay(), FreeSpaceNormalize(), FreeSpaceSet()
property MaxSize as %Monitor.Integer;
Maximum size (MB. -1 indicates Unlimited).
Property methods: MaxSizeDisplayToLogical(), MaxSizeGet(), MaxSizeIsValid(), MaxSizeLogicalToDisplay(), MaxSizeNormalize(), MaxSizeSet()

Methods

method GetSample() as %Status
Get routine metric sample.
A return code of $$$OK indicates there is a new sample instance.
A return code of 0 indicates there is no sample instance.
method Initialize() as %Status
Initialize routine metrics.

Inherited Members

Inherited Methods

Feedback