sysrec

Specifications

  • Parameters: 43
  • Data Source: proc filesystem
  • API: Sys::Statistics::Linux
  • Programming Language: Perl 5
  • Library of Monitoring Objects: IT/Computer Performance

Functions

Records system performance metrics from a Linux kernel. The agent requires a minimum version of Linux kernel 2.6 version. The recorder uses Sys::Statistics::Linux, which handles data collection.

Data Message

The recorder outputs its data as krd, Kronometrix raw data format.

id name type description
1 timestamp timestamp, unix seconds since Epoch
2 cpupct numeric CPU utilization averaged across all CPUs, always less than or equal to 100%, percentage, gauge
3 sumpct numeric sum of all CPUs utilization always less than or equal to n*100%, percentage, gauge
4 headpct numeric headroom CPU available, all CPUs, always equal to n*100% minus sumpct, percentage, gauge
5 userpct numeric CPU utilization USER space in percentage, averaged across all CPUs
6 nicepct numeric CPU utilization USER space with nice priority, averaged across all CPUs percentage, gauge
7 syspct numeric CPU utilization SYSTEM space, averaged across all CPUs, percentage, gauge
8 idlepct numeric CPU utilization idle state, averaged across all CPUs, percentage, gauge
9 iowaitpct numeric CPU utilization in idle state because an I/O operation is waiting to complete, percentage, gauge
10 irqpct numeric CPU utilization servicing interrupts, percentage, gauge
11 softirqpct numeric CPU utilization servicing softirqs, percentage, gauge
12 stealpct numeric CPU utilization of time spent in other OSes when running in a virtualized environment, percentage, gauge
13 runqsz numeric run queue length, numeric of tasks waiting for run time
14 plistsz numeric numeric of tasks in the task list
15 memusedpct numeric size of used memory in percent, gauge
16 memused numeric size of used memory in kilobytes, gauge
17 memfree numeric size of free memory in kilobytes, gauge
18 memtotal numeric size of memory in kilobytes, gauge
19 buffers numeric size of buffers used from memory in kilobytes, gauge
20 cache numeric size of cached memory in kilobytes, gauge
21 realfree numeric size of memory is real free, memfree+buffers+cached, gauge
22 realfreepct numeric size of memory is real free in percent of total memory, gauge
23 swapusedpct numeric size of used swap space in percent, gauge
24 swapused numeric size of swap space is used is kilobytes, gauge
25 swapfree numeric size of swap space is free in kilobytes, gauge
26 swaptotal numeric size of swap space in kilobytes, gauge
27 swapcached numeric memory that once was swapped out, is swapped back in but still also is in the swapfile, gauge
28 readReq numeric total disk read requests, counter
29 writeReq numeric total disk write requests, counter
30 totReq numeric total disk read+write requests, counter
31 readByt numeric total read bytes / sec, in KB
32 writeByt numeric total write bytes / sec, in KB
33 totByt numeric total read+write bytes / sec, in KB
34 rxByt numeric total received bytes /sec, in KB
35 txByt numeric total transmitted bytes /sec, in KB
36 ntByt numeric total received + transmitted bytes /sec, in KB
37 rxerr numeric Number of errors that happend while received packets/second
38 txerr numeric Number of errors that happend while transmitting packets/second
39 rxdrp numeric Number of rx packets that were dropped per second
40 txdrp numeric Number of rx packets that were dropped per second
41 avg_1 numeric LA of the last minute
42 avg_5 numeric LA of the 5 minutes
43 avg_15 numeric LA of the last 15 minutes