Get Corrade Heartbeat Data

7 October 2016

  • Release 9.134 - added.
getheartbeatdata (Commands)
TypeCorrade progressive command
DescriptionThe getheartbeatdata command can query Corrade's heartbeat data.
Parametersgroup, password, data
Last ChangesRelease 9.134 - added.

The getheartbeatdata command can query Corrade's heartbeat data.

Command Required Parameters Required Corrade Permissions Example
getheartbeatdata group, password, data grooming
            // get the average CPU and RAM usage
            "command", "getheartbeatdata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "data", wasListToCSV(
            "callback", wasURLEscape(URL)

Corrade heartbeats have a one minute periodicity meaning that the averages are computed cumulatively over 1 minute intervals.


The data that can be queried is the following:

Parameter Description
HistoryLength The heartbeat history length maintained by Corrade for RAM and CPU.
StartTime The date and time when Corrade was started.
AverageCPUUsage The average CPU usage across all heartbeats.
AverageRAMUsage The average RAM usage across all heartbeats (in bytes).
AverageThreadsUsage The average threads usage across all heartbeats.
CPUAverageUsageHistory A list of CPU usage snapshots of length HistoryLength.
RAMAverageUsageHistory A list of RAM usage snapshots of length HistoryLength.
ThreadsAverageUsageHistory A list of thread usage snapshots of length HistoryLength.
NETAverageUsageHistory A list of network usage snapshots of length HistoryLength.
Uptime The Corrade uptime (in format [-][d.]hh:mm:ss[.fffffff]).
Version The Corrade version.
ExecutingCommands The number of currently executing commands.
ManifestingRLVBehaviours The number of currently manifesting RLV behaviours.
ProcessedCommands The number of processed commands.
ProcessedRLVBehaviours The number of processed RLV behaviours.


  • HistoryLength is set to 100

secondlife/scripted_agents/corrade/api/commands/getheartbeatdata.txt ยท Last modified: 2022/11/24 07:46 by

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key

For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.