canonical / real-time-ubuntu-docs

Real-time Ubuntu documentation
https://documentation.ubuntu.com/real-time
1 stars 2 forks source link

Add `irqtop` tool for Ubuntu 24.04 OS with fixed dependency `ruby-curse` #17

Open MonicaisHer opened 6 months ago

MonicaisHer commented 6 months ago

After investigation by https://github.com/canonical/real-time-ubuntu-docs/pull/11#issuecomment-1987536100 and https://github.com/canonical/real-time-ubuntu-docs/pull/11#issuecomment-1988109702, the irqtop tool is available for Ubuntu 24.04 with the fixed dependency ruby-curse, but it is not compatible with the current documentation target, Ubuntu 22.04. Once the documentation's target switches to 24.04, this useful tool could be added to the reference page.

For future reference, below is the irqtop excerpt from the draft of the PR, which adds tools for measuring real-time metrics:

irqtop
------

The `irqtop`_ is a tool shows interrupt rates (per second) per CPU. It also shows IRQ affinity and RPS/XPS affinity. 

.. code-block:: shell

    irqtop --softirq

This command displays software IRQ CPU utilization percentage for each CPU, and information about interrupts.

.. note::
   ``irqtop`` package has been tested on Ubuntu 23.10 OS, 
   and it might not work properly on other OS such as Ubuntu 22.04.

.. _irqtop: https://manpages.ubuntu.com/manpages/mantic/man1/irqtop.1.html
farshidtz commented 6 months ago

The target should be 24.04, not 23.04.