Giter Club home page Giter Club logo

itop's Introduction

itop

Interrupts 'top-like' utility for Linux

initial idea: http://et.redhat.com/~jmh/tools/xen/itop

Forked it to make it support more CPUs (up to 24 tested)

Modified by Mitch Williams to enable filtering, user-specified timing interval, and to print the full interrupt name (instead of the interrupt type and a tiny bit of the name).

Usage

itop [-a|-t|-T|-f <string>|-i <interval>|-c <string>]

 -a : force display ALL CPUs (caution if you have many CPUs and a narrow screen) + TOTAL
 -t : DON'T display ALL CPUs, just the TOTAL
 -m : display MAX interrupts per IRQ based on TOTAL
 -T : transpose the output (suitable for running "itop -a" on computers having many CPUs)

Default: display ALL CPUs + TOTAL (unless CPUs > 8, then just display the TOTAL)

-f <string>: only show interrupts that match on the specified string

Default: display all interrupts

-i <interval>: sample every <interval> seconds. Can be fractional.
-c <string> : display only specifed CPUs (e.g. "0,1,4-6") + TOTAL

Default: sample and display every second. Note: specifying very short intervals without filters may cause display flickering.

Examples

  • Display all interrupts, updating once per second:
$ itop
  • Display all interrupts, only show TOTAL count per IRQ, don't display per CPU stats, updating once per second:
$ itop -t
  • Display all interrupts, only show TOTAL count and MAX interrupts per IRQ, updating once per second:
$ itop -t -m
  • Only display interrupts related to eth0, once per second:
$ itop -f eth0
  • Only display interrupts owned by the ahci driver, every five seconds:
$ itop -f ahci -i 5
  • Only display interrups owned by the ixgbe driver, ten times per second:
$ itop -f ixgbe -i 0.1
  • Only display cpus 0 and 6:
$ itop -c 0,6
  • Only display cpus from 4 to 8:
$ itop -c 4-8

itop's People

Contributors

kargig avatar marcusmueller avatar masatake avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

itop's Issues

USB audio card wrong address in itop output

I have an usb audio card on this address:
cat /proc/asound/card1/usbbus
004/002
but...
itop -a is giving only this:
uhci_hcd:usb2 ( 21): 0 0 0
ehci_hcd:usb8 ( 23): 3 6 9
I think ehci_hcd:usb8 or uhci_hcd:usb2 should be instead uhci_hcd:usb4, am I right?

License

Please specify a license so that we can pack t for distribution.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.