linux查看异常,Linux 查看 中断

场景:linux停查看中断请求记录 IRQ

linux下查看中断请求记录 IRQ

linux下查看中断请求记录。通过cpu的中断请求的响应,可以看出cpu都在为哪些设备干活,干的活有多少量等信息。

[~]$ cat /proc/interrupts

CPU0 CPU1 CPU2 CPU3

0: 1383283707 0 0 0 IO-APIC-edge timer

1: 3 0 0 0 IO-APIC-edge i8042

3: 11 0 0 0 IO-APIC-edge serial

8: 1 0 0 0 IO-APIC-edge rtc

9: 0 0 0 0 IO-APIC-level acpi

12: 4 0 0 0 IO-APIC-edge i8042

14: 25 0 0 0 IO-APIC-edge ide0

82: 85 0 0 0 IO-APIC-level uhci_hcd:usb5

90: 96 0 0 0 IO-APIC-level uhci_hcd:usb6

114: 1067499 0 0 0 PCI-MSI-X cciss0

130: 96508322 0 0 0 PCI-MSI eth0

138: 384295 0 0 0 PCI-MSI eth1

169: 0 0 0 0 IO-APIC-level ehci_hcd:usb1, uhci_hcd:usb2

177: 0 0 0 0 IO-APIC-level uhci_hcd:usb3

185: 0 0 0 0 IO-APIC-level uhci_hcd:usb4

NMI: 11370 6399 6845 6300

LOC: 1383174675 1383278112 1383174810 1383277705

ERR: 0

MIS: 0

---------------------------------------------------------------------

注释:

1. 对部分IRQ标识的解释

Interrupt as in /proc/interrupts Name as it appears in ftrace log

NMI: Non-maskable interrupts : NMI_VECTOR

LOC: Local timer interrupts : LOCAL_TIMER_VECTOR

SPU: Spurious interrupts : SPURIOUS_APIC_VECTOR

PMI: Performance monitoring interrupts :

PND: Performance pending work : LOCAL_PENDING_VECTOR

RES: Rescheduling interrupts : RESCHEDULE_VECTOR

CAL: Function call interrupts : CALL_FUNCTION_VECTOR or

CALL_FUNCTION_SINGLE_VECTOR

TLB: TLB shootdowns : INVALIDATE_TLB_VECTOR_START to

INVALIDATE_TLB_VECTOR_END

TRM: Thermal event interrupts : THERMAL_APIC_VECTOR

THR: Threshold APIC interrupts : THRESHOLD_APIC_VECTOR

MCE: Machine check exceptions :

MCP: Machine check polls :

ERR: : ERROR_APIC_VECTOR

MIS: :

PLT: Platform interrupts : X86_PLATFORM_IPI_VECTOR

2. IO-APIC-edge  timer

此处的timer为系统定时器.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值