proc: fix documentation for /proc/stat, line "intr"
PATCH 1/1 proc: fix documentation for /proc/stat, line "intr"
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.
--- Documentation/filesystems/proc.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Documentation/filesystems/proc.txt +3 -2
@@ -1245,8 +1245,9 @@ second). The meanings of the columns are as follows, from left to right: 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.
Signature · 1 line
1.8.4.5
Quoted 5 lines · Jan Moskyto Matejka
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.
I'm not really doubting what you claim, Jan, but it would be really helpful if you provided some data to support the proposed change (Kernel source references, or notes about testing you've done, or pointers to mailing list threads, authoritative note that you are the maintainer of some relevant kernel subsystem...). Do you have something like that? (It's also useful for the change log.)
Thanks,
Michael
Quoted 22 lines
Signed-off-by Jan Moskyto Matejka <[email protected]>--- Documentation/filesystems/proc.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)Documentation/filesystems/proc.txt +3
-2@@ -1245,8 +1245,9 @@ second). The meanings of the columns are as follows, from left to right: 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.
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/
Randy Dunlap
reviewerQuoted 5 lines · Michael Kerrisk (man-pages)
Quoted 4 lines · Jan Moskyto Matejka
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.
Quoted 8 lines
Quoted 1 line
Fixed the documentation to mention that.
I'm not really doubting what you claim, Jan, but it would be really helpful if you provided some data to support the proposed change (Kernel source references, or notes about testing you've done, or pointers to mailing list threads, authoritative note that you are the maintainer of some relevant kernel subsystem...). Do you have something like that? (It's also useful for the change log.)
I wouldn't mind more of a changelog, but the additional text is certainly correct.
Thanks. I'll apply the patch, but more changelog comments are welcome.
Quoted 28 lines
Thanks,
Michael
Quoted 22 lines
Signed-off-by Jan Moskyto Matejka <[email protected]>--- Documentation/filesystems/proc.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)Documentation/filesystems/proc.txt +3
-2@@ -1245,8 +1245,9 @@ second). The meanings of the columns are as follows, from left to right: 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.
Signature · 1 line
~Randy
Quoted 15 lines · Randy Dunlap
Quoted 5 lines · Michael Kerrisk (man-pages)
Quoted 4 lines · Jan Moskyto Matejka
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.
Quoted 8 lines
Quoted 1 line
Fixed the documentation to mention that.
I'm not really doubting what you claim, Jan, but it would be really helpful if you provided some data to support the proposed change (Kernel source references, or notes about testing you've done, or pointers to mailing list threads, authoritative note that you are the maintainer of some relevant kernel subsystem...). Do you have something like that? (It's also useful for the change log.)
Quoted 2 lines
I wouldn't mind more of a changelog, but the additional text is certainly correct.
Sorry -- I wrote the reply in a hurry, having first mistaken the patch as being something to apply in man-pages. I should have looked more closely ;-).
Quoted 1 line
Thanks. I'll apply the patch, but more changelog comments are welcome.
Amen.
Cheers,
Michael
Quoted 26 lines
Quoted 24 lines
Quoted 22 lines
Signed-off-by Jan Moskyto Matejka <[email protected]>--- Documentation/filesystems/proc.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)Documentation/filesystems/proc.txt +3
-2@@ -1245,8 +1245,9 @@ second). The meanings of the columns are as follows, from left to right: 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.
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/
Quoted 15 lines · Randy Dunlap
Quoted 5 lines · Michael Kerrisk (man-pages)
Quoted 4 lines · Jan Moskyto Matejka
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.
Quoted 8 lines
Quoted 1 line
Fixed the documentation to mention that.
I'm not really doubting what you claim, Jan, but it would be really helpful if you provided some data to support the proposed change (Kernel source references, or notes about testing you've done, or pointers to mailing list threads, authoritative note that you are the maintainer of some relevant kernel subsystem...). Do you have something like that? (It's also useful for the change log.)
Quoted 4 lines
I wouldn't mind more of a changelog, but the additional text is certainly correct.
Thanks. I'll apply the patch, but more changelog comments are welcome.
And I see now that this text could also reasonably fit into the proc(5) man page. So I've added, with a Reviewed-by: tag for Randy. Thanks for the text, Jan.
Cheers,
Michael
Quoted 28 lines
Quoted 19 lines
Quoted 19 lines
Signed-off-by Jan Moskyto Matejka <[email protected]>--- Documentation/filesystems/proc.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)Documentation/filesystems/proc.txt +3
-2@@ -1245,8 +1245,9 @@ second). The meanings of the columns are as follows, from left to right: 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.Quoted 5 lines
Documentation/filesystems/proc.txt second). The meanings of the columns are as follows, from left to right: · line 1253
Quoted 3 lines
Documentation/filesystems/proc.txt +0
-0The "ctxt" line gives the total number of context switches across all CPUs.--
~Randy
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/
Quoted 15 lines · Randy Dunlap
Quoted 5 lines · Michael Kerrisk (man-pages)
Quoted 4 lines · Jan Moskyto Matejka
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.
Quoted 8 lines
Quoted 1 line
Fixed the documentation to mention that.
I'm not really doubting what you claim, Jan, but it would be really helpful if you provided some data to support the proposed change (Kernel source references, or notes about testing you've done, or pointers to mailing list threads, authoritative note that you are the maintainer of some relevant kernel subsystem...). Do you have something like that? (It's also useful for the change log.)
Quoted 4 lines
I wouldn't mind more of a changelog, but the additional text is certainly correct.
Thanks. I'll apply the patch, but more changelog comments are welcome.
Thank you for applying.
You may add following line to the changelog:
This behaviour was added to /proc/stat in commit a2eddfa95919a730e0e5ed17e9c303fe5ba249cd.
MQ
Signature · 2 lines
Jan Matějka <[email protected]> SUSE Labs
Quoted 19 lines · Jan Moskyto Matejka
Quoted 18 lines · Randy Dunlap
Quoted 5 lines · Michael Kerrisk (man-pages)
Quoted 4 lines · Jan Moskyto Matejka
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.
Quoted 8 lines
Quoted 1 line
Fixed the documentation to mention that.
I'm not really doubting what you claim, Jan, but it would be really helpful if you provided some data to support the proposed change (Kernel source references, or notes about testing you've done, or pointers to mailing list threads, authoritative note that you are the maintainer of some relevant kernel subsystem...). Do you have something like that? (It's also useful for the change log.)
I wouldn't mind more of a changelog, but the additional text is certainly correct.
Quoted 6 lines
Quoted 1 line
Thanks. I'll apply the patch, but more changelog comments are welcome.
Thank you for applying.
You may add following line to the changelog:
This behaviour was added to/proc/statin commita2eddfa95919a730e0e5ed17e9c303fe5ba249cd.
Thanks, Jan -- that's indeed helpful for the man-pages changelog!
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/
Randy Dunlap
reviewerQuoted 19 lines · Jan Moskyto Matejka
Quoted 18 lines · Randy Dunlap
Quoted 5 lines · Michael Kerrisk (man-pages)
Quoted 4 lines · Jan Moskyto Matejka
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.
Quoted 8 lines
Quoted 1 line
Fixed the documentation to mention that.
I'm not really doubting what you claim, Jan, but it would be really helpful if you provided some data to support the proposed change (Kernel source references, or notes about testing you've done, or pointers to mailing list threads, authoritative note that you are the maintainer of some relevant kernel subsystem...). Do you have something like that? (It's also useful for the change log.)
I wouldn't mind more of a changelog, but the additional text is certainly correct.
Quoted 9 lines
Quoted 1 line
Thanks. I'll apply the patch, but more changelog comments are welcome.
Thank you for applying.
You may add following line to the changelog:
This behaviour was added to/proc/statin commita2eddfa95919a730e0e5ed17e9c303fe5ba249cd.MQ
I added that and applied your patch. Thanks.
Signature · 1 line
~Randy