Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > System Monitor
Headers
Macros - sysmon.hrl
-define(SYSMON, sysmon). -define(SYSMON_SERVICE_RESULT(TaskID, Type, Data), {?SYSMON, TaskID, Type, Data}). -define(SYSMON_SERVICE_ERROR(TaskID, Data), ?SYSMON_SERVICE_RESULT(TaskID, error, Data)).
Records - sysmon.hrl
-record(sysmon_stat, { % Statistical identifier id :: atom(), % Statistical timestamp timestamp = age_calendar:now_to_unix() :: integer(), % Statistical dataset records = [] :: list() }).