Cover V05, I04
Article
Listing 1
Listing 2
Listing 3
Listing 4
Listing 5

apr96.tar


Listing 2: Linux_kbr and _msr helper scripts

#!/bin/sh

# Command  : Linux_kbr
#
# Return keybord interrupt count from proc file system
#
# Programmer: Doug Morris 1/17/96
#

grep keyboard /proc/interrupts|sed -e "s/.*:\\([ 0-9]*\\).*/\\1/g"

#!/bin/sh

# Command  : Linux_msr
#
# Return mouse interrupt count from proc file system
#
# Programmer: Doug Morris 1/17/96
#

grep Mouse /proc/interrupts|sed -e "s/.*:\\([ 0-9]*\\).*/\\1/g"

# End of File