Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 1995 15:50:42 +0100 (MET)
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        peter@jhome.dialix.com (Peter Wemm)
Cc:        joerg@freefall.freebsd.org, cvs-bin@freefall.freebsd.org, CVS-committers@freefall.freebsd.org
Subject:   Re: cvs commit: src/bin/ps ps.1
Message-ID:  <199512301450.PAA16695@keltia.freenix.fr>
In-Reply-To: <Pine.BSF.3.91.951230215500.6208B-100000@jhome.DIALix.COM> from "Peter Wemm" at Dec 30, 95 10:12:09 pm

next in thread | previous in thread | raw e-mail | index | archive | help
It seems that Peter Wemm said:
> Hmm. this was a suprise to me...  I thought procfs was optional, but it 
> doesn't look like, since libkvm reads the /proc/<pid>/mem files.

On the same subject, is it expected to all the "files" in /proc/<pid> to be
of size 0 ? 

total 0
--w-------  1 root  staff  0 Dec 30 15:50 ctl
----------  1 root  staff  0 Dec 30 15:50 fpregs
----r-----  1 root  kmem   0 Dec 30 15:50 mem
--w-------  1 root  staff  0 Dec 30 15:50 note
--w-------  1 root  staff  0 Dec 30 15:50 notepg
----------  1 root  staff  0 Dec 30 15:50 regs
-r--r--r--  1 root  staff  0 Dec 30 15:50 status

I'd expect mem to be the size of the binary in the VM system... 

-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.frmug.fr.net
   FreeBSD keltia.freenix.fr 2.2-CURRENT #9: Mon Dec 25 22:55:52 MET 1995



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