bug in proc(5) manpage
hi,
the man page for "proc" says for the /proc/[pid]/stat files the field "itrealvalue":
"Since kernel 2.6.17, this field is no longer maintained, and is hard coded as 0."
Looking at the kernel source[1] however, I see that the field is not hard coded as 0 but instead has been removed completely. Since this may result in a one-off when searching for a specific field, it should be documented correctly.
Best regards,
Andre
[1] compare the relevant file of 2.6.16 and 2.6.17
sources:
http://lxr.linux.no/#linux+v2.6.16/fs/proc/array.c#L415
http://lxr.linux.no/#linux+v2.6.17/fs/proc/array.c#L413Signature · 1 line
Andre Landwehr, Ricklinger Stadtweg 42, D-30459 Hannover
A message that is not in the archive (sent off-list or not yet received): 1280311444.1994.67.camel-cB/[email protected]
Quoted 11 lines · On Wednesday, 2010/07/28, 12:04 +0200 Andre Landwehr wrote:
hi,
the man page for "proc" says for the /proc/[pid]/stat files the field "itrealvalue":"Since kernel 2.6.17, this field is no longer maintained, and is hard coded as 0."
Looking at the kernel source[1] however, I see that the field is not hard coded as 0 but instead has been removed completely. Since this may result in a one-off when searching for a specific field, it should be documented correctly.
Forget it, the man page is correct. I overlooked the hardcoded "0" in the format string of the printf. Sorry for the noise.
Regards,
Andre
Signature · 1 line
Andre Landwehr, Ricklinger Stadtweg 42, D-30459 Hannover