Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 8 May 2002 15:15:59 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: /proc improvements Message-ID: <20020508151559.E9238@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <001901c1f628$6e754b30$0100a8c0 AT advent02> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001901c1f628$6e754b30$0100a8c0@advent02> User-Agent: Mutt/1.3.22.1i On Wed, May 08, 2002 at 01:36:45AM +0100, Chris January wrote: > I'm currently working on making the /proc implementation in CVS compatible > with the procps and psmisc packages. Although commands like top and ps are > already running, not all the values are meaningful (48486.8% CPU usage > anyone?). > If anyone has any ideas on the kind of things they'd like to see > implemented, please let me know. I'd think these would be funny: /proc//environ containing environment /proc//exe symlink to executable file /proc//gid like /proc//uid, primary gid. Currently the uid and gid of all directories are both just 0. Since all uid/gid information per process is available, it shouldn't be too hard to fake the ownership of the directories in stat(). And two unrelated: /proc/self symlink pointing to /proc/ of current process. /proc/mounts containing same output as generated by mount(1). Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/