[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
proc filesystem output hosed
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: proc filesystem output hosed
- From: Jim Razmus <lists_(_at_)_bonetruck_(_dot_)_org>
- Date: Wed, 3 Oct 2001 09:06:11 -0400
- Mail-followup-to: Jim Razmus <lists_(_at_)_bonetruck_(_dot_)_org>, tech_(_at_)_openbsd_(_dot_)_org
I sent the following post to the misc list and did not receive any replies. Would someone mind confirming what I am seeing or just plain correct/inform me if I am missing something obvious? It smells like a bug, but I don't want to cry wolf if I'm doing something dumb.
Thanks in advance.
Jim
----- Forwarded message from Jim Razmus <lists_(_at_)_bonetruck_(_dot_)_org> -----
From: Jim Razmus <lists_(_at_)_bonetruck_(_dot_)_org>
To: misc_(_at_)_openbsd_(_dot_)_org
Date: Wed, 26 Sep 2001 22:24:46 -0400
Subject: 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
----- End forwarded message -----
Visit your host, monkey.org