PreviousDTO Programmer's Guide (9.1 revision 1) Next

DtoMonitor Object

Show this topic in Library frames

This object provides usage information about a Pervasive.SQL server. It is the root object of all other monitoring operations.

Properties

CurClients
Returns the current number of clients for a session.
CurFilesInUse
Returns the current number of files in use for a session.
CurHandlesInUse
Returns the current number of handles in use for a session.
CurLicensesInUse
Returns the current number of licenses in use for a session.
CurLocksInUse
Returns the current number of locks in use for a session.
CurThreads
Returns the number of threads for a session.
CurTransInUse
Returns the current number of open transactions for a session.
MaxClients
Returns the maximum number of clients for a session.
MaxFiles
Returns the maximum number of files for a session.
MaxHandles
Returns the maximum number of handles for a session.
MaxLicenses
Returns the user license count for a session.
MaxThreads
Returns the maximum number of threads for a session.
MaxTrans
Returns the maximum number of transactions for a session.
PeakClients
Returns the highest number of clients for a session
PeakFilesInUse
Returns the highest number of files in use for a session
PeakHandlesInUse
Returns the highest number of handles in use for a session
PeakLicensesInUse
Returns the highest number of licenses in use for a session
PeakLocksInUse
Returns the highest number of locks in use for a session
PeakThreads
Returns the highest number of threads for a session.
PeakTransInUse
Returns the highest number of transactions in use for a session.

Collections
DtoMkdeClients Collection 
DtoOpenFiles Collection 
DtoSqlClients Collection 
Objects
DtoCommStat Object 
DtoMonitor Object 
DtoSession Object 
DtoMkdeVersion Object 
Methods

None

Example
' Instantiate session and connect to server 
Dim my_session as new DtoSession 
Dim result as DtoResult 
result = my_session.Connect("myserver", "username", 
"password") 
' Now get DtoMonitor object from DtoSession 
Dim session_monitor as DtoMonitor 
Set session_monitor = my_session.Monitor 
' Now get current files in use 
Dim current_files as long 
current_files = session_monitor.CurFilesInUse 

See Also

DtoOpenFiles Collection
DtoMkdeClients Collection
DtoMonitor Object


Chapter contents
Publication contents

Prev topic: Monitoring Pervasive Servers with DTO
Next topic: DtoOpenFiles Collection