Home > Class Reference > %SYS namespace > SYS.WSMon.wsDatabase


class SYS.WSMon.wsDatabase extends SYS.WSMon.wsResource

Information about databases used by a InterSystems IRIS instance. The List() query is used by the SYS.WSMon.Service.EnumDatabase() Web method, to provide details on all databases. The Sample() method can be used to Get information about a specific database.

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property Cluster as %Boolean;
An indicator whether this database is monted with cluster access.
Property methods: ClusterDisplayToLogical(), ClusterGet(), ClusterIsValid(), ClusterLogicalToDisplay(), ClusterLogicalToXSD(), ClusterNormalize(), ClusterSet(), ClusterXSDToLogical()
property Directory as %String;
The path and file name of of the database.
Property methods: DirectoryDisplayToLogical(), DirectoryGet(), DirectoryIsValid(), DirectoryLogicalToDisplay(), DirectoryLogicalToOdbc(), DirectoryNormalize(), DirectorySet()
property FreeSpace as %Integer;
The available space (in MB) in this database. Note that the %Monitor FreeSpace property must be active.
Property methods: FreeSpaceDisplayToLogical(), FreeSpaceGet(), FreeSpaceIsValid(), FreeSpaceLogicalToDisplay(), FreeSpaceNormalize(), FreeSpaceSet(), FreeSpaceXSDToLogical()
property Mounted as %Boolean;
An indicator whether this database is currently mounted.
Property methods: MountedDisplayToLogical(), MountedGet(), MountedIsValid(), MountedLogicalToDisplay(), MountedLogicalToXSD(), MountedNormalize(), MountedSet(), MountedXSDToLogical()
property Name as %String;
The name given to the database
Property methods: NameDisplayToLogical(), NameGet(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property ReadOnly as %Boolean;
An indicator whether this database is mounted with only read access.
Property methods: ReadOnlyDisplayToLogical(), ReadOnlyGet(), ReadOnlyIsValid(), ReadOnlyLogicalToDisplay(), ReadOnlyLogicalToXSD(), ReadOnlyNormalize(), ReadOnlySet(), ReadOnlyXSDToLogical()
property SizeAllocated as %Integer;
The amount of disk space (in MB) allocated for this database.
Property methods: SizeAllocatedDisplayToLogical(), SizeAllocatedGet(), SizeAllocatedIsValid(), SizeAllocatedLogicalToDisplay(), SizeAllocatedNormalize(), SizeAllocatedSet(), SizeAllocatedXSDToLogical()

Methods (Including Private)

classmethod ListClose(ByRef qHandle As %Binary) as %Status [ Language = objectscript ]
classmethod ListExecute(ByRef qHandle As %Binary) as %Status [ Language = objectscript ]
classmethod ListFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status [ Language = objectscript ]
classmethod Sample(index) as SYS.WSMon.wsDatabase [ Language = objectscript ]
Instantiate the class and fill in current values for all properties. 'index' is an integer index into the database list.


query List()
Selects Name As %String, Directory As %String, SizeAllocated As %Integer, Mounted As %Boolean, ReadOnly As %Boolean, Cluster As %Boolean, FreeSpace As %Integer
Sample counters for all Databases

Inherited Members

Inherited Methods (Including Private)