ADTF  3.18.2
System Status Plugin

Table of Contents

System Status

Introduction

The System Status is a delivered Streaming Service plugin that gets CPU and memory information of the ADTF System and provides them as Samples (e.g. to store in an ADTF DAT File (.adtfdat) by using ADTFDAT File Recorder or to analyze and react to in custom components or Qt5 Scripting Filter Plugins).

Plugin Information
Plugin Filenameadtf_system_status.adtfplugin
Plugin Descriptionadtf_system_status.plugindescription
Plugin NameSystem Status Plugin
LicenseADTF
Support Mailsupport@digitalwerk.net
Homepage URLhttps://support.digitalwerk.net/
Plugin Versions
Plugin Version3.18.2
Plugin File Version1.0
adtf3.18.2
adtf::ucom3.1.0
Component Information
NameSystem Status
CIDsystem_status_input.streaming_source.adtf.cid
DescriptionUse this Streaming Source to receive system status information as sample data to be able to record them.
TypeFilter
Properties
NameValueTypeDescriptionSubproperties
update_interval1000000tInt64refresh interval in microseconds to update sytem status information.
Output Pins
NameStream TypeDescription
system_status adtf/default Provides samples containing the current system status.
Dynamic Pins
Dynamic Input Pinsfalse
Dynamic Output Pinsfalse
Dynamic Input Binding Pinsfalse
Dynamic Output Binding Pinsfalse
Required Interfaces
IID
reference_clock.riddler.streaming.adtf.iid
kernel.penguin.services.adtf.iid
Output Pin Stream Types
Pin Namesystem_status
Meta Type Nameadtf/default
Stream Type Properties
NameValueTypeDescriptionSubproperties
md_data_serializedfalsetBool
md_definitions
<?xml version="1.0"?>
<ddl:ddl xmlns:ddl="ddl">
<header>
<language_version>4.01</language_version>
<author></author>
<date_creation></date_creation>
<date_change></date_change>
<description></description>
</header>
<units />
<datatypes>
<datatype name="uint64_t" size="64" description="Predefined DataType for tUInt64" arraysize="1" min="0" max="18446744073709551615" />
<datatype name="double" size="64" description="Predefined DataType for tFloat64" arraysize="1" />
</datatypes>
<enums />
<structs>
<struct name="tCpuStatus" version="1" alignment="1">
<element name="fUsageTotal" type="double" arraysize="1">
<serialized bytepos="0" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="fUsageProcess" type="double" arraysize="1">
<serialized bytepos="8" byteorder="LE" />
<deserialized alignment="1" />
</element>
</struct>
<struct name="tMemoryStatus" version="1" alignment="1">
<element name="nPhysicalMemoryTotal" type="uint64_t" arraysize="1">
<serialized bytepos="0" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="nPhysicalMemoryUsed" type="uint64_t" arraysize="1">
<serialized bytepos="8" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="nPhysicalMemoryUsedByProcess" type="uint64_t" arraysize="1">
<serialized bytepos="16" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="nVirtualMemoryTotal" type="uint64_t" arraysize="1">
<serialized bytepos="24" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="nVirtualMemoryUsed" type="uint64_t" arraysize="1">
<serialized bytepos="32" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="nVirtualMemoryUsedByProcess" type="uint64_t" arraysize="1">
<serialized bytepos="40" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="nMallocTotal" type="uint64_t" arraysize="1">
<serialized bytepos="48" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="nMallocFree" type="uint64_t" arraysize="1">
<serialized bytepos="56" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="nMallocUsed" type="uint64_t" arraysize="1">
<serialized bytepos="64" byteorder="LE" />
<deserialized alignment="1" />
</element>
</struct>
<struct name="tSystemStatus" version="1" alignment="1">
<element name="sCpuStatus" type="tCpuStatus" arraysize="1">
<serialized bytepos="0" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="sMemoryStatus" type="tMemoryStatus" arraysize="1">
<serialized bytepos="16" byteorder="LE" />
<deserialized alignment="1" />
</element>
<element name="nSystemTime" type="uint64_t" arraysize="1">
<serialized bytepos="88" byteorder="LE" />
<deserialized alignment="1" />
</element>
</struct>
</structs>
<streammetatypes />
<streams />
</ddl:ddl>
cString
md_structtSystemStatuscString

Addtional Notes

Note
If you do not require Samples and use this information just for viewing, please have a look at ADTF Status Monitor.