9.97 loadavg

int loadavg(uint32_t *buf, size_t len);

This syscall writes average load values to the passed buffer of len items

The average values represent the number of processes executed by the system over various periods of time. Ironclad only implements the first three intervals, which represent the average for 1, 5, and 15 minutes respectively.

The number of average values written is returned in success, and -1 in failure, with the following errno: