Quoting Michael P. Soulier ([EMAIL PROTECTED]): > On Wed, Oct 04, 2000 at 05:43:29PM +0100, David Wright wrote: > > > If you need the number when it's not in use, get it from the > > intr line in /proc/stat (first number is total). > > Wow. How do I read that? Off to the proc manpage for me.
$ cat /proc/interrupts /proc/stat CPU0 0: 112724548 XT-PIC timer 1: 311838 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 237 XT-PIC MS Sound System 8: 1 XT-PIC rtc 11: 442192 XT-PIC sym53c8xx 12: 812604 XT-PIC PS/2 Mouse------------------- 13: 1 XT-PIC fpu | 14: 237 XT-PIC ide0 | 15: 91622967 XT-PIC eth0 | NMI: 0 | cpu 8084962 33447 2158543 102447596 | disk 230890 199163 5334 0 | disk_rio 135425 188580 4507 0 | disk_wio 95465 10583 827 0 | disk_rblk 476524 1498842 4532 0 | disk_wblk 507274 62170 827 0 | page 1119975 398228 | swap 96760 35427 v intr 205914628 112724548 311838 0 1 1 237 0 1 1 0 0 442192 812604 1 237 91622967 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ctxt 261583839 btime 969624989 processes 29317 i.e. intr Total IRQ0 IRQ1 IRQ2 IRQ3 IRQ4 etc. with none missing. Cheers, -- Email: [EMAIL PROTECTED] Tel: +44 1908 653 739 Fax: +44 1908 655 151 Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA Disclaimer: These addresses are only for reaching me, and do not signify official stationery. Views expressed here are either my own or plagiarised.