[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

proc filesystem output hosed.?.?.



I have noticed that after mounting the proc filesystem I get strange output.  It does not jive with the man pages nor comments in the code.

Specifically, if I do the following:

mount_procfs /proc /proc
cd /proc
cat ./*/status

I get the following:

<snip>
syslogd 7794 1 7794 7794 -1,-1 -1,-1 sldrsldr 998486624,960000 4,28218 6,296984 select 0, 0,0
<snip>

The differences I see here compared to what the man pages say and comments in the code indicate are:
1. major, minor appears 1 or more times for processes without a controlling terminal when it should appear just once.
2. Likewise flags seem to repeat.
3. Process credentials includes an extra space.

I have consistently repeated this problem on two 2.9 generic installs as well as a system tracking current as of about 3 weeks ago, all i386.  I would like to get some resolution on this as I am trying to port Proc::ProcessTable for Perl to support OpenBSD.

I have not sumitted this as a bug yet.  Can anyone else confirm what I am seeing on their systems and let me know so I can submit a bug report if it really is a bug?

Thanks in advance.

Jim