linux下檢視中斷請求記錄。通過cpu的中斷請求的響應,可以看出cpu都在為哪些裝置幹活,幹的活有多少量等資訊。
[~]$ cat /proc/interrupts
cpu0 cpu1 cpu2 cpu3
0: 138328370700
0 io-apic-edge timer
1: 300
0 io-apic-edge i8042
3: 1100
0 io-apic-edge serial
8: 100
0 io-apic-edge rtc
9: 000
0 io-apic-level acpi
12: 400
0 io-apic-edge i8042
14: 2500
0 io-apic-edge ide0
82: 8500
0 io-apic-level uhci_hcd:usb5
90: 9600
0 io-apic-level uhci_hcd:usb6
114: 106749900
0 pci-msi-x cciss0
130: 9650832200
0 pci-msi eth0
138: 38429500
0 pci-msi eth1
169: 000
0 io-apic-level ehci_hcd:usb1, uhci_hcd:usb2
177: 000
0 io-apic-level uhci_hcd:usb3
185: 000
0 io-apic-level uhci_hcd:usb4
nmi: 11370
6399
6845
6300
loc: 1383174675
1383278112
1383174810
1383277705
err: 0
mis: 0
[~]$ 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標識的解釋
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為系統定時器.
linux下檢視中斷請求記錄 IRQ
linux下檢視中斷請求記錄。通過cpu的中斷請求的響應,可以看出cpu都在為哪些裝置幹活,幹的活有多少量等資訊。cat proc interrupts cpu0 cpu1 cpu2 cpu3 0 138328370700 0 io apic edge timer 1 300 0 io apic e...
原創 淺說windows下的中斷請求級IRQL
根據中斷源不同,可以將中斷分為 硬體中斷源又可以分為 通過處理器的intr pin接收的中斷請求,典型地,intr連線到8259a pic上,在支援apic的處理器上,lint0被作為intr連線到外部中斷控制器上 通過local apic產生的本地中斷源 來自晶元組上的i o apic產生的中斷資...
Linux下檢視歷史操作記錄
linux下檢視歷史操作記錄 2012 04 17 10 23 05 我來說兩句 收藏 last命令可以用來檢視使用者的登陸記錄。history命令可以檢視命令的執行歷史。www.2cto.com 常用日誌檔案如下 access log 紀錄http web的傳輸 acct pacct 紀錄使用者命...