NetBSD Problem Report #10133

Received: (qmail 6956 invoked from network); 16 May 2000 23:03:16 -0000
Message-Id: <200005162303.BAA01181@saruman.ics.muni.cz>
Date: Wed, 17 May 2000 01:03:28 +0200 (CEST)
From: Jaromír Doleček <dolecek@ics.muni.cz>
Reply-To: dolecek@ics.muni.cz
To: gnats-bugs@gnats.netbsd.org
Subject: ps(1) gets arguments via procfs wrong sometimes
X-Send-Pr-Version: 3.95

>Number:         10133
>Category:       bin
>Synopsis:       ps(1) gets arguments via procfs wrong sometimes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 16 23:04:01 +0000 2000
>Closed-Date:    Wed Jul 10 21:28:08 +0000 2002
>Last-Modified:  Wed Jul 10 21:28:08 +0000 2002
>Originator:     Jaromir Dolecek
>Release:        20000516
>Organization:
	IBIS, Ltd.
>Environment:

System: NetBSD saruman.ics.muni.cz 1.4Y NetBSD 1.4Y (SARUMAN) #31: Tue May 16 22:53:56 CEST 2000 dolecek@saruman.ics.muni.cz:/usr/home/dolecek/tmp/syssrc/sys/arch/i386/compile/SARUMAN i386
Architecture: i386

>Description:
	Seems like ps(1) isn't able to extract args for processes on
	end of list, displays just their process title.

>How-To-Repeat:
	> ps ax
	... some system stuff
  205 ??  ?<s    0:00.67 /usr/pkg/sbin/httpd -f /etc/httpd/httpd.conf
  209 ??  ?<     0:00.06 /usr/pkg/sbin/httpd -f /etc/httpd/httpd.conf
  370 ??  ?<     0:00.04 /usr/pkg/sbin/httpd -f /etc/httpd/httpd.conf
	... lots of other stuff with correct args and ...
  216 E1- ?W<s   0:00.00 (getty)
  217 E2- ?W<s   0:00.00 (getty)
  218 E3- ?W<s   0:00.00 (getty)
  219 E4- ?W<s   0:00.00 (getty)
  220 E5- ?W<s   0:00.00 (getty)
  221 E6- ?W<s   0:00.00 (getty)

	whereas output from

	> cat /proc/221/cmdline
	/usr/libexec/gettyPcttyE6

	is apparently ok
>Fix:
	None provided ATM. This is just a reminder so that this problem
	won't be lost.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jdolecek 
State-Changed-When: Wed Jul 10 14:27:34 PDT 2002 
State-Changed-Why:  
No longer applicable, procfs fallback was removed from ps and replaced 
by sysctl. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.