Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

Item nameDescription
IsFile@TRUE - in case of a file, @FALSE - in case of a directory.
CreateTimeTime The time 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 nameFilename.
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


...

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 The number 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 The number 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 The number of received datagram 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.
FramesOutNumber The number 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 The number 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 The number of changes of I/O tags on the line that were sent to process D2000 Server during the last 10-second period.
ChangesTotalTotal The total 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 The number of stations on the line.


Kotva
sd._system_netstatus
sd._system_netstatus
SD._System_NetStatus

Item nameDescription
IP_AddressThe IP 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 The elapsed time of given status.
PktRcvNumber The number of successfully transferred packets.
PktLostNumber The number of lost packets.
SuccRatioNetwork transfer ratio.
LastPingTimeTime The time when the last message was sent.


Kotva
sd._system_objectinfo
sd._system_objectinfo
SD._System_ObjectInfo

...

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

...

Item nameDescription
NameName of D2000 system process.

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

Note 1: The parameter also allows to define defining a process running on other another server (process connected to another D2000 Server process) 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 the computer where the specified process is running.
ClientTypeType of the connection of specified process to process D2000 Server.
IPAddr1The IP address if of a specified process if it is connected with to D2000 Server through using TCP/IP and or DUAL TCP/IP.
CommStatus1 1)Status of the connection using the parameter IPAddr1.
IPAddr2 1)The IP address of a specified process. The parameter is shown if the process is connected to D2000 Server through  using DUAL TCP/IP.
CommStatus2 1)Status of the connection using the parameter IPAddr2.
SentMessagesMessage count that are The number of messages that were sent by the D2000 Server to a client.
ReceivMessagesMessage count that are received by The number of messages that were received by the D2000 Server from a client.
AllocatedMemorySize (in bytes) of memory allocated by the specified process.
FreeMemoryfor Windows/Linux/Raspberry PI: Free memory size of the computer (kilobytes) where the specified process is running
for OpenVMS: Size of memory (kilobytes) that can be allocated by a specified process
CpuLoadCPU load of the 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 the process.
HandlesNumber for Windows: The number of the process handles.
ThreadsNumber The number of the process threads.
SendBytesByte count that are The number of bytes that were sent by the D2000 Server to a client.
ClientSendBytesByte count that are The number of bytes that were sent by a client to the 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 the 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 the connection can, in the specific situations (the fault conditions, a physical cut-off of the wiring network), acquire this value belatedly by tenth tens of seconds up to several minutes.

...

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

...

Item nameDescription
NameStation name. Name is entered by D2000 system user (configurator) - the name of a station to be tracked.
FramesInNumber The number 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 The number 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 the communication of request/response type).
LastTimeSynchroTime of the real-time station synchronisationsynchronization.
LastErrorTimeLast station error time.
LastErrorTextLast station error report.
ChangesNumber The number of changes of I/O tags on the station that were sent to process the D2000 Server process during the last 10-second period.
ChangesTotalTotal The total 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 The number of station communication requests postponed.
PointsNumberNumber The number of I/O tags on the station.

...

Item nameDescription
NameName of process.
ClientsNrNumber The number of clients.
TotalOutMsgTotal outgoing messages.
TotalInMsgTotal incoming messages.
TotalOutBytesTotal outgoing bytes.
TotalInBytesTotal incoming bytes.
ServletQTotalSizeServlet queue total size.
ServletQTotalCountServlet queue total count.

...