Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 1997 21:19:58 -0500 (CDT)
From:      Daniel Ortmann <ortmann@sparc.isl.net>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/4550: /proc/curproc/{mem,status} are 0 size
Message-ID:  <199709160219.VAA02392@watcher.isl.net>
Resent-Message-ID: <199709160230.TAA14094@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4550
>Category:       kern
>Synopsis:       /proc/curproc/{mem,status} are 0 size
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 15 19:30:00 PDT 1997
>Last-Modified:
>Originator:     Daniel Ortmann
>Organization:
(not-applicable)
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

Last ctm applied before rebuilding the src and kernel is
src-cur.3048.gz

>Description:

/bin/ls -lF /proc/221
total 784
--w-------  1 ortmann  ortmann       0 Sep 15 19:47 ctl
-r--r--r--  1 ortmann  ortmann      76 Sep 15 19:47 etype
-r-xr-xr-x  1 bin      bin      393216 Jun  8 11:53 file*
-rw-------  1 ortmann  ortmann     176 Sep 15 19:47 fpregs
-r--r--r--  1 ortmann  ortmann      76 Sep 15 19:47 map
-rw-r-----  1 ortmann  kmem          0 Sep 15 19:47 mem
--w-------  1 ortmann  ortmann       0 Sep 15 19:47 note
--w-------  1 ortmann  ortmann       0 Sep 15 19:47 notepg
-rw-------  1 ortmann  ortmann      76 Sep 15 19:47 regs
-r--r--r--  1 ortmann  ortmann       0 Sep 15 19:47 status

The "mem" and "status" files show a size of 0 for all processes
that I have inspected.

I expected that both of these files would show a non-zero size.

>How-To-Repeat:

/bin/ls -lF /proc/curproc/

>Fix:

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709160219.VAA02392>