Skip to content

Instantly share code, notes, and snippets.

@conorbranagan
Last active April 13, 2024 20:06
Show Gist options
  • Star 28 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
  • Save conorbranagan/4513828 to your computer and use it in GitHub Desktop.
Save conorbranagan/4513828 to your computer and use it in GitHub Desktop.
Linux System Metrics

Linux System Metrics

CPU

  • system.cpu.idle: % Idle CPU
  • system.cpu.system: % System CPU
  • system.cpu.user: % User CPU

Disk

  • system.disk.free: Disk free, in bytes.
  • system.disk.user: Total disk space, in bytes.
  • system.disk.total: Total disk space, in bytes.
  • system.disk.in_use: % Disk in use.

I/O

  • system.io.r_s: The number of read requests to the device per second.
  • system.io.rkb_s: The number of kBs of reads per second.
  • system.io.w_s: The number of write requests to the device per second.
  • system.io.wkb_s: The number of kBs of writes per second.
  • system.io.await: The average time (in milliseconds) for I/O requests issued to the device to be served. This includes the time spent by the requests in queue and the time spent servicing them.
  • system.io.util: Percentage of CPU time during which I/O requests were issued to the device (bandwidth utilization for the device). Device saturation occurs when this value is close to 100%.

Reference

Memory

  • system.mem.free: Free system memory (in bytes)
  • system.mem.used: Used system memory (in bytes)
  • system.mem.total: Total system memory (in bytes)

Network

  • system.net.bytes_rcvd: The number of bytes received on a device per second.
  • system.net.bytes_sent: The number of bytes sent from a device per second.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment