Watch Live Interrupts


To see the interrupts occurring on your system, run the command:

amoal-desktop:~$ watch -n1 “cat /proc/interrupts”

CPU0       CPU1
0:        168          0   IO-APIC-edge      timer
1:          2          0   IO-APIC-edge      i8042
3:          2          0   IO-APIC-edge
4:          2          0   IO-APIC-edge
7:          0          0   IO-APIC-edge      parport0
8:          1          0   IO-APIC-edge      rtc0
9:          0          0   IO-APIC-fasteoi   acpi
12:          4          0   IO-APIC-edge      i8042
14:      13262          0   IO-APIC-edge      ata_piix
15:          0          0   IO-APIC-edge      ata_piix
16:      92707          0   IO-APIC-fasteoi   radeon@pci:0000:01:00.0, eth0
18:      12428          0   IO-APIC-fasteoi   uhci_hcd:usb4
20:      44825          0   IO-APIC-fasteoi   ata_piix
21:          3          0   IO-APIC-fasteoi   ehci_hcd:usb1, uhci_hcd:usb2
22:        527          0   IO-APIC-fasteoi   uhci_hcd:usb3
23:       2301          0   IO-APIC-fasteoi   uhci_hcd:usb5, Intel ICH7
NMI:          0          0   Non-maskable interrupts
LOC:     714523     421205   Local timer interrupts
RES:       2900       4929   Rescheduling interrupts
CAL:         38         87   Function call interrupts
TLB:       1726       2426   TLB shootdowns
SPU:          0          0   Spurious interrupts
ERR:          0
MIS:          0

The watch command executes another command periodically, in this case “cat /proc/interrups”. The -n1 option tells watch to execute the command every second.

Advertisements

About Amol

I'm blogger, avid read, photographer and book lover. Reading a lot of good stuff and sharing it with the world are my passions.
This entry was posted in Linux, Tricks and Tips., Ubuntu and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s