Introducing runqstat — New Linux Run Queue & Load Average Tool

Getting real CPU Load Average on Linux

Linux Load Average includes I/O

It’s as simple as that. Unlike all other UNIX-like systems (Solaris, AIX, etc.), Linux counts BOTH running/runnable processes AND blocked (uninterruptible) processes, which are usually waiting for I/O. This is a bad thing, and dates to an archaic 24 year-old patch that Brendon found.

Introducing runqstat

runqstat does this — it’s a simple command line tool written in Go that by default samples this queue size every 10ms and averages this over one second. The goal is a stable and accurate measure of how busy the system is.
It includes options to change the sample rate and averaging time, plus to subtract the number of CPUs so you can just see the actual queue size if you want.

--

--

CEO of ChinaNetCloud & Siglos.io — Global Entrepreneur in Shanghai & Silicon Valley

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Steve Mushero

CEO of ChinaNetCloud & Siglos.io — Global Entrepreneur in Shanghai & Silicon Valley