On Sun, 4 Feb 2001, Andrzej Bialecki wrote:

> According to procfs(5), the status line contains several well-defined
> fields separated by spaces. However, the kernel thread names look like
> 'swi5: task queue' and 'swi1: net', which results in variable number of
> space-separated fields. As a consequence, some software that parses this
> line gives incorrect results.

I think procfs never actually implemented this.  Program names may
have spaces in them too.  Of course, the line is too hard to parse if
the first "field" has spaces in it.  Only MAXCOMLEN and NAME_MAX
prevent the command name being the contents of another process's
status line :-).

Bruce



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to