/proc/softirq is softirq stats. Is
/proc/interrupt both hard and soft interrupts or hard only?
I want to measure the rate of hard and soft irq's per second roughly using
watch -n 1 grep 'foo' /proc/softirq and
watch -n 1 grep 'bar' /proc/interrupt so I can compare the rate of hardware interrupt increase to software interrupt.
I'm wondering if I need to subtract
/proc/softirq counts from
/proc/interrupt to get the count of hardware IRQs because it counts both kinds or if
/proc/interrupt is hardware only?