I've applied the following patch upstream:

diff --git a/man5/proc.5 b/man5/proc.5
index efb402d..3acf867 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -1198,13 +1198,9 @@ instead.
 .TP
 \fIwchan\fP %lu
 (35) This is the "channel" in which the process is waiting.
-It is the
-address of a system call, and can be looked up in a namelist if you
-need a textual name.
-(If you have an up-to-date
-.IR /etc/psdatabase ,
-then
-try \fIps \-l\fP to see the WCHAN field in action.)
+It is the address of a location in the kernel where the process is sleeping.
+The corresponding symbolic name can be found in
+.IR /proc/[pid]/wchan .
 .TP
 \fInswap\fP %lu
 (36)
@@ -1479,6 +1475,10 @@ directory are not available if the main thread has 
already terminated
 (typically by calling
 .BR pthread_exit (3)).
 .TP
+.IR /proc/[pid]/wchan " (since Linux 2.6.0)"
+The symbolic name corresponding to the location
+in the kernel where the process is sleeping.
+.TP
 .I /proc/apm
 Advanced power management version and battery information when
 .B CONFIG_APM

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/737452

Title:
  man 5 proc has obsolete info

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/manpages/+bug/737452/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to