September 2002
Beginner to intermediate
216 pages
7h 43m
English
latency measures the number of context switches and interrupts, and reports on the resulting delays, updating the display once per second. This utility must be run as root. Example 8-1 shows a portion of its output.
Mon Apr 8 16:30:30 0:01:58
SCHEDULER INTERRUPTS
---------------------------------------------
total_samples 64431 179982
delays < 10 usecs 38731 176120
delays < 20 usecs 10763 2885
delays < 30 usecs 2934 447
delays < 40 usecs 1037 190
delays < 50 usecs 718 93
delays < 60 usecs 708 41
delays < 70 usecs 540 32
delays < 80 usecs 420 21
delays < 90 usecs 310 30
delays < 100 usecs 217 20
total < 100 usecs 56378 179879The SCHEDULER column lists the number of context
switches and the INTERRUPTS column lists the
number of interrupts.