On Tue, Feb 22, 2005 at 02:50:56PM +0530, Dhanashri Bhate wrote: > Could anyone pls tell me how to get a list of all 16 IRQs? Only 16? Modern systems switch to APIC mode which enables more interrupts than the legacy XT-PIC method. Here's an example from an AMD Athlon with a SiS chipset: CPU0 0: 1287613680 IO-APIC-edge timer 1: 8 IO-APIC-edge i8042 7: 0 IO-APIC-edge parport0 8: 4 IO-APIC-edge rtc 9: 0 IO-APIC-level acpi 12: 0 IO-APIC-edge i8042 14: 517627 IO-APIC-edge ide0 17: 178782837 IO-APIC-level libata 19: 100101528 IO-APIC-level eth0 20: 0 IO-APIC-level ohci_hcd 21: 0 IO-APIC-level ohci_hcd 23: 0 IO-APIC-level ehci_hcd NMI: 0 LOC: 1287633737 ERR: 0 MIS: 0 > By cat /proc/interrupts on my machine i get this output: > --------------------- > CPU0 > 0: 49014381 XT-PIC timer > 1: 7 XT-PIC keyboard > 2: 0 XT-PIC cascade > 5: 2269019 XT-PIC usb-uhci, eth0 > 8: 1 XT-PIC rtc > 10: 28347 XT-PIC ehci-hcd, usb-uhci > 11: 2753 XT-PIC usb-uhci > 14: 70630 XT-PIC ide0 > NMI: 0 > ERR: 9 > --------------------- The "intr" line in /proc/stat contains all interrupts, not only the active ones. Erik -- Erik Mouw J.A.K.Mouw@xxxxxxxxxxxxxx mouw@xxxxxxxxxxxx
Attachment:
signature.asc
Description: Digital signature