大网数据广告活动
服务器运维问答

What is this column in /proc/interrupts?

· 52CE 我爱测

Can someone assist me in analyzing the data in this output from my /proc/interrupts file? $ cat /proc/interrupts CPU0 CPU1 0: 22 0 IR-IO-APIC 2-edge timer 1: 2 0 IR-IO-APIC 1-edge i8042 8: 1 0 IR-IO-APIC 8-edge rtc0 9: 0 0 IR-IO-…

问题原文

原帖链接 · Matt K · CC BY-SA 3.0

Can someone assist me in analyzing the data in this output from my /proc/interrupts file?

$ cat /proc/interrupts
           CPU0       CPU1
  0:         22          0  IR-IO-APIC   2-edge      timer
  1:          2          0  IR-IO-APIC   1-edge      i8042
  8:          1          0  IR-IO-APIC   8-edge      rtc0
  9:          0          0  IR-IO-APIC   9-fasteoi   acpi
 12:          4          0  IR-IO-APIC  12-edge      i8042
120:          0          0  DMAR-MSI   0-edge      dmar0
122:          0          0  IR-PCI-MSI 327680-edge      xhci_hcd
123:      25164    5760490  IR-PCI-MSI 1048576-edge      enp2s0
124:         17    5424414  IR-PCI-MSI 524288-edge      amdgpu

What I have compiled so far...

  • Column 1: IRQ number
  • Column 2&3: # of interrupts per CPU (variable # of columns depends on how many CPUs your system has)
  • Column 4: Type of interrupt
  • Column 5: ???
  • Column 6: Name of device

I'm interested in finding out what data the 5th column contains, i.e. 524288-edge, and if someone can break down what the number represents. From researching online I only see the interrupt type column followed by the name of the device, this column data is always missing. Is it simply more information about the interrupt type?

已采纳解答

原帖链接 · irdroid3 · CC BY-SA 4.0

I am still poking around this area too.

This points to the "edge" meaning the type of irq is an "edge falling" irq: https://www.raspberrypi.org/forums/viewtopic.php?t=20931

Looking at mine, I have "18 edge" and that ties in with the GPIO-18 I expect the interrupt to come in on in my case :

       CPU0      CPU1   CPU2  CPU3
172:   1387      0      0     0     pinctrl-bcm2835  18 Edge      lirc_rpi

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2018-02-09)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0 / CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。