[PATCH 4/4] Documentation: update /proc/stat "intr" count summary

From: Randy Dunlap
Date: Thu May 15 2014 - 16:55:40 EST


From: Jan Moskyto Matejka <mq@xxxxxxx>

The sum at the beginning of line "intr" includes also unnumbered interrupts.
It implies that the sum at the beginning isn't the sum of the remainder of the
line, not even an estimation.

Fixed the documentation to mention that.

This behaviour was added to /proc/stat in commit
a2eddfa95919a730e0e5ed17e9c303fe5ba249cd.

Signed-off-by: Jan Moskyto Matejka <mq@xxxxxxx>
Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
---
Documentation/filesystems/proc.txt | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

--- lnx-315-rc2.orig/Documentation/filesystems/proc.txt
+++ lnx-315-rc2/Documentation/filesystems/proc.txt
@@ -1245,8 +1245,9 @@ second). The meanings of the columns ar

The "intr" line gives counts of interrupts serviced since boot time, for each
of the possible system interrupts. The first column is the total of all
-interrupts serviced; each subsequent column is the total for that particular
-interrupt.
+interrupts serviced including unnumbered architecture specific interrupts;
+each subsequent column is the total for that particular numbered interrupt.
+Unnumbered interrupts are not shown, only summed into the total.

The "ctxt" line gives the total number of context switches across all CPUs.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/