Skip to main content

%Monitor.System.Freespace

Class %Monitor.System.Freespace Extends %Monitor.System.Adaptor [ System = 4 ]

Parameters

APPLICATION

Parameter APPLICATION [ Internal ] = "CACHE";

INDEX

Parameter INDEX [ Internal ] = "DBName";

Properties

DBName

Property DBName As %Monitor.String;

Name of dataset

Directory

Property Directory As %Monitor.String(MAXLEN = 255);

Name of directory

MaxSize

Property MaxSize As %Monitor.Integer;

Maximum size (MB. -1 indicates Unlimited).

CurSize

Property CurSize As %Monitor.Integer;

Current size (MB)

FreeSpace

Property FreeSpace As %Monitor.Integer;

Freespace available (MB)

DiskFreeSpace

Property DiskFreeSpace As %Monitor.Integer;

Disk space available (MB)

Rspec

Property Rspec As %Library.ResultSet [ Internal ];

NSpace

Property NSpace As %String [ Internal ];

Methods

Initialize

Method Initialize() As %Status

Initialize routine metrics.

GetSample

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.