Page tree
Skip to end of metadata
Go to start of metadata

D2000 System contains several predefined objects of Structure definition type.


SD._System_ArchivPerformance

Item nameDescription
NameName of a process of D2000 Archiv type.
PendingDbRequestNumber of waiting write requests for archive database.
PendingStatReqestNumber of waiting requests for statistical archive.
PerformedDbRequestNumber of performed write requests for archive database per second.
PerformedCalcRequestNumber of performed statistic calculation per second.
TotalItemsInCacheNumber of items in internal archive cache.
CacheEffectivityCache usage in % (if it is 100% the system does not need to read source data from disk in evaluating statistical historical values - the data are in the memory).
DatabaseSize
Database size [MB].
AutoExtensible
If TRUE, then at least one of the datafiles is able to enlarge (for ORACLE databases only).
FreeSpace
for Sybase: Free disk space
for Oracle: Free space in existing datafiles
PendingClearRequestNumber of waiting requests for deleting old data from archive database.
ActiveTrue - the instance of D2000 Archiv is active.
False - the instance of D2000 Archiv is not active.
LatestCommandDescription of the last executed command – a database request or statistics evaluation request in the process D2000 Archiv.
DataSizefor Sybase: DataSize = DatabaseSize
for Oracle: DataSize = DatabaseSize - FreeSpace
ReadyTrue - the instance of D2000 Archiv is ready (the initial recalc has been executed). It may become active.
False - the instance of D2000 Archiv is not ready.



SD._System_EDAServerPerformance2

Item nameDescription
NameName of process EDA Server.
DatabaseTaskCountNumber of database connections to DBS Oracle.
WorkerTasksCountNumber of computing threads of EDA Server.
clientsCountNumber of connected clients.
triggersCountNumber of connected triggers.
gcTotalBlocksNumber of pre-allocated data blocks of global cache.
gcTotalVectorsNumber of pre-allocated vector definitions of global cache.
gcTotalGroupsNumber of pre-allocated group definitions of global cache.
gcTotalScenariosNumber of pre-allocated scenario definitions of global cache.
gcUsedBlocksNumber of used data blocks of global cache.
gcUsedVectorsNumber of used vector definitions of global cache.
gcUsedGroupsNumber of used group definitions of global cache.
gcUsedScenariosNumber of used scenario definitions of global cache.
ccTotalBlocksNumber of pre-allocated data blocks of client cache.
ccTotalVectorsNumber of pre-allocated vector definitions of client cache.
ccTotalGroupsNumber of pre-allocated group definitions of client cache.
ccTotalScenariosNumber of pre-allocated scenario definitions of client cache.
ccUsedBlocksNumber of used data block of client cache.
ccUsedVectorsNumber of used vector definitions of client cache.
ccUsedGroupsNumber of used group definitions of client cache.
ccUsedScenariosNumber of used scenario definitions of client cache.
lpqLengthLength of message queue with a lower priority.
npqLengthLength of message queue with a normal priority.
ipqLengthLength of message queue with an internal priority.
lpqMsgsNumber of processed messages with a lower priority.
lpqAvgWaitTimeAverage wait time of message in a queue with a lower priority.
lpqMaxLengthMaximum length of queue with a lower priority.
npqMsgsNumber of processed messages with a normal priority.
npqAvgWaitTimeAverage wait time of message in a queue with a normal priority.
npqMaxLengthMaximum length of queue with a normal priority.
ipqMsgsNumber of processed messages with an internal priority.
ipqAvgWaitTimeAverage wait time of message in a queue with an internal priority.
ipqMaxLengthMaximum length of queue with an internal priority.
transTimeTime spent on transactions for EDA Server synchronization.
transCountNumber of transactions for EDA Server synchronization.
triggerTransTimeTime spent on transactions for EDA Server synchronization from trigger.
triggerTransCountNumber of transactions for EDA Server synchronization from trigger.
msgProcessingTimeTime spent on processing messages.
processedMsgCountNumber of processed messages.
statementExecTimeTime spent on processing EDA-L commands.
statementExecCountNumber of executed EDA-L commands.
compilationTimeTime spent on of EDA-L compilations.
compilationCountNumber of EDA-L compilations.
descVectorCalcTimeTime spent on calculation of descriptive vectors.
descVectorCalcCountNumber of calculation of descriptive vectors.
archiveTransTimeTime spent on transactions with archive.
archiveTransCountNumber of transactions with archive.
dbTaskRequestWaitTime spent on waiting for trigger.
dbTaskRequestCountNumber of task for trigger.
dbActionsTimeTime spent on database actions.
dbActionsCountNumber of database actions.
sqlActionsTime Time spent on executing SQL commands.
sqlActionsCountNumber of executed SQL commands.
cCacheMissCountNumber of queries on client cache which do not contain data.
cCacheHitCountNumber of queries on client cache which contains data.
ncCacheFullCountNumber of attempts to write to the full client cache.
cCacheBypassCountNumber of attempts to write to the client cache of entities that have temporary flag "non-cacheable".
cCacheNoncacheableCountNumber of non-cacheable access to the client cache.
gCacheMissCountNumber of queries to global cache, which do not contain data.
gCacheHitCountNumber of queries to global cache, which contains data.
gCacheFullCountNumber of attempts to write to the full global cache.
gCacheBypassCountNumber of attempts to write to the global cache of entities, that have temporary flag "non-cacheable".
gCacheNoncacheableCountNumber of non-cacheable access to global cache.


SD._System_FileInfo

A structure contains the information about the files which have been returned by FIND_FILES action.

Item nameDescription
IsFile@TRUE - in case of file, @FALSE - in case of directory.
CreateTimeTime when the file or directory was created.
AccessTimeTime of the last access to the file (writing or reading).
ModifyTimeTime of the last file modification.
SizeFile size in bytes.
NameFile name.
AttribsFile attributes.

The parameter Attribs contains file (directory) attributes, so as they were returned by an operating system. The following table contains the list of the attributes and their values from the file winnt.h.

AttributeValue
FILE_ATTRIBUTE_READONLY0x00000001
FILE_ATTRIBUTE_HIDDEN0x00000002
FILE_ATTRIBUTE_SYSTEM0x00000004
FILE_ATTRIBUTE_DIRECTORY0x00000010
FILE_ATTRIBUTE_ARCHIVE0x00000020
FILE_ATTRIBUTE_ENCRYPTED0x00000040
FILE_ATTRIBUTE_NORMAL0x00000080
FILE_ATTRIBUTE_TEMPORARY0x00000100
FILE_ATTRIBUTE_SPARSE_FILE0x00000200
FILE_ATTRIBUTE_REPARSE_POINT0x00000400
FILE_ATTRIBUTE_COMPRESSED0x00000800
FILE_ATTRIBUTE_OFFLINE0x00001000
FILE_ATTRIBUTE_NOT_CONTENT_INDEXED0x00002000


SD._System_LinePerformance

Item nameDescription
NameLine name. Name is entered by D2000 system user (configurator) - the name of a line to be tracked.
StatusLine status (True / False).
StatusTimeRelative time from last line status change.
BytesInNumber of received bits on the line from the start of process D2000 KOM or from the time when the data are set to zero by using the Tell command RESETPERF.
BytesOutNumber of sent bits on the line from the start of process D2000 KOM or from the time when the data are set to zero by using the Tell command RESETPERF.
FramesInNumber of received datagram / packets on the line from the start of process D2000 KOM or the time when the data are set to zero by using the Tell command RESETPERF.
FramesOutNumber of sent datagrams / packets on the line from the start of process D2000 KOM or the time when the data are set to zero by using the Tell command RESETPERF.
RetryErrorNumber of datagram request retry error (no response) on the line from the start of process D2000 KOM or the time when the data are set to zero by using the Tell command RESETPERF.
LastErrorTimeLast line error time.
LastErrorTextLast line error report.
ChangesNumber of changes of I/O tags on the line that were sent to process D2000 Server during last 10-second period.
ChangesTotalTotal number of changes of I/O tags on the line that were sent to process D2000 Server from the start of process D2000 KOM or the time when the data are set to zero by using the Tell command RESETPERF.
StationsNumberNumber of stations on the line.


SD._System_NetStatus

Item nameDescription
IP_AddressIP address to be tested using the PING network service.
PeriodPING messages sending period (seconds).
TimeoutWait time (milliseconds) for device response.
ResetSetting the parameter to TRUE resets the parameter listed below.
StatusNetwork status.
StatusTimeElapsed time of given status.
PktRcvNumber of successfully transferred packets.
PktLostNumber of lost packets.
SuccRatioNetwork transfer ratio.
LastPingTimeTime when last message was sent.


SD._System_ObjectInfo

The structure contains the basic information about the objects which have been returned by LST_CREATE action.

Item nameDescription
IDHOBJ of the object.
NameObject name.
DescObject description.
TypeObject type.
RowsNumber of rows in case of the structured variable, otherwise 0.
ColsNumber of columns in case of the structured variable / structure definition, otherwise 0.
ParentHOBJ of the parent object.

It is possible to use a structure extended by 2 more columns with their types and meanings:

UUIDUnique object identifier.
ModifyTimeTime of the last modification of the object.

SD._System_Proces

Item nameDescription
NameName of D2000 system process.

In case of instance process the object name must be written with prefix [instNr]_, in which instNr is number of instance.
For example [2]_SELF.ARC for the instance archive (instance 2).

Note 1: The parameter also allows to define a process running on other server (process D2000 Server) within a redundant system. To define such a process, define the parameter as follows: server_name::process_name (e.g. DS15A::SELF.KOM)
Note 2: The parameter is not case sensitive.

IDProcess ID.
StatusProcess status.
ComputerNameName of computer where specified process is running.
ClientTypeType of the connection of specified process to process D2000 Server.
IPAddr1IP address if specified process is connected with D2000 Server through TCP/IP and DUAL TCP/IP.
CommStatus1 1)Status of the connection using the parameter IPAddr1.
IPAddr2 1)IP address of specified process. The parameter is shown if process is connected to D2000 Server through DUAL TCP/IP.
CommStatus2Status of the connection using the parameter IPAddr2.
SentMessagesMessage count that are sent by D2000 Server to a client.
ReceivMessagesMessage count that are received by D2000 Server from a client.
AllocatedMemorySize (in bytes) of memory allocated by specified process.
FreeMemoryfor Windows: Free memory size of the computer (kilobytes) where specified process is running
for OpenVMS: Size of memory (kilobytes) that can be allocated by specified process
CpuLoadCPU load of specified process.
ActiveIndicates whether the instance is active or not. Possible values:
  • True - process instance is active
  • False - process instance is inactive
StartTimeStart time of process.
HandlesNumber of the process handles.
ThreadsNumber of the process threads.
SendBytesByte count that are sent by D2000 Server to a client.
ClientSendBytesByte count that are sent by a client to D2000 Server.
AvailVirtualThe amount of unreserved and uncommitted memory currently in the user-mode portion of the virtual address space of the process, in bytes.
PrivateUsageThe Commit Charge value in bytes for this process. Commit Charge is the total amount of memory that the memory manager has committed for a running process.
ModuleInfoStructured process information in JSON format. Example:
{
   "name":"cli.EVH",
   "basename":"cli",
   "ext":"EVH",
   "descript":"New Process",
   "state_value":"RUN",
   "state_ts":"2017-06-02T08:47:25.113Z",
   "run_counter":2,
   "transport":{
      "type":"SharedMemory",
      "tls":"None"
},
   "client_data":{
      "host_name":"PC1A3",
      "platform":"w32",
      "os_info":"",
      "d2000_version":"BASIC V11.00.053 (A000000000-00) [s150] - DEBUG",
      "image_path":"C:\\D2000\\D2000_EXE\\bin\\event.exe",
      "image_ts":"2017-06-02T08:29:48.000Z",
      "image_size":67027508,
      "command_line":"event.exe /Wcli /DW",
      "log_path":"C:\\D2000\\D2000_EXE\\Log\\",
      "log_file":"EVH-cli.log"
   }
}

1) The variable contains the status of TCP/IP connection. TRUE means that the connection has been established and is active. FALSE means that the connection has not been established or has been already ended. If the client process is connected to D2000 Server via one or several active network components (gateway, router...), the status of connection can, in the specific situations (the fault conditions, physical cut-off the wiring network), acquire this value belatedly by tenth seconds up to several minutes.


SD._System_Redundancy

Item nameDescription
NameName of server (process D2000 Server) within redundant group.
ComputerNameName of the computer where specified server is running.
UpTimeRun time of specified server.
StatusServer status in redundancy. For numerical values see table of server states
StatusTimeElapsed time of specified status.


SD._System_StationPerformance

Item nameDescription
NameStation name. Name is entered by D2000 system user (configurator) - the name of a station to be tracked.
FramesInNumber of received datagrams / packets on the station from the start of process D2000 KOM or the time when the data are set to zero using the Tell command RESETPERF.
FramesOutNumber of sent datagrams / packets on the station from the start of process D2000 KOM or the time when the data are set to zero using the Tell command RESETPERF.
LastCommActivityTime of last communication with the station (e.g. data reading time in communication of request / response type).
LastTimeSynchroTime of the real time station synchronisation.
LastErrorTimeLast station error time.
LastErrorTextLast station error report.
ChangesNumber of changes of I/O tags on the station that were sent to process D2000 Server during last 10-second period.
ChangesTotalTotal number of changes of I/O tags on the station that were sent to the process D2000 Server from the start of process D2000 KOM or the time when the data are set to zero by using the Tell command RESETPERF.
WaitReqNumberNumber of station communication requests postponed.
PointsNumberNumber of I/O tags on the station.


SD._System_TCTSPerformance

Item nameDescription
NameName of process.
ClientsNrNumber of clients.
TotalOutMsgTotal outgoing messages.
TotalInMsgTotal incoming messages.
TotalOutBytesTotal outgoing bytes.
TotalInBytesTotal incoming bytes.
ServletQTotalSizeServlet queue total size.
ServletQTotalCountServlet queue total count.
Write a comment…