Monitoring PSQL Servers with DTO : DtoProtocolStat Object
 
DtoProtocolStat Object
Provides information about a communications protocol.
Properties
 
CurRemoteSessions
Returns the number of queued requests for a session or protocol.
PeakRemoteSessions
Returns the highest number of remote sessions for a session or protocol.
ProtocolID
Returns the ID of a protocol, which is one of the following return codes:
1 – Microsoft SPX
2 – WINSOCK SPXII
3 – Microsoft IPX
4 – WINSOCK TPC/IP
5 – Novell SPX
6 – Novell SPXII
7 – Novell IPX
8 – Novell TCP/IP
9 – TCP/IP
10 – IBM NETBIOS
11 – NWIPXSPX SPX
12 – Microsoft NETBIOS
RequestsProcessed
Returns the total number of requests processed for a session or protocol.
Methods
None
Remarks
To access a particular protocol using this object, you must first obtain a DtoProtocolStats Collection using the DtoMonitor Object and the DtoCommStat Object
All the properties for this object return values of type Long integer.
Examples
To obtain the number of requests processed using this protocol:
num_requests = Object.RequestsProcessed
To obtain the current number of remote sessions:
RemoteSess_count = Object.CurRemoteSessions
See Also
DtoProtocolStats Collection
DtoCommStat Object
DtoMonitor Object