Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How many interrupts does my cpu have per second?

I have a 2.6 GHz Intel Core i7 running Linux. I am wondering how many interrupts on average my CPU gets per second.

Does anyone have a suggestion?

like image 202
piggyback Avatar asked Mar 16 '23 03:03

piggyback


1 Answers

If you are using Linux you can

cat /proc/interrupts

And read the info with this page:

http://www.thegeekstuff.com/2014/01/linux-interrupts/

cat the file every second to see how the counters have changed and then calculate an average.

like image 182
Santiago Villafuerte Avatar answered Mar 23 '23 01:03

Santiago Villafuerte