6,534
edits
Changes
fixed level heading for API
In a signal handler one should just perform a respective system call to get the stats and schedule the next notification (yes, they are performed in one go; see below for more details).
The system call description is