Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2007 23:02:05 +1300
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Yuri <yuri@rawbw.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Why FreeBSD procfs is so different from the Linux one?
Message-ID:  <20071017100205.GB92302@osiris.chen.org.nz>
In-Reply-To: <1192613089.4715d4e1d484b@webmail.rawbw.com>
References:  <1192613089.4715d4e1d484b@webmail.rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 17, 2007 at 02:24:49AM -0700, Yuri wrote:
> Hi,
> 
> When I look at /proc/PID/ in FreeBSD I see the files:
> cmdline ctl     dbregs  etype   file    fpregs  map     mem     note    notepg 
> regs    rlimit  status
> and in Linux:
> cmdline  cpu  cwd  environ  exe  fd  maps  mem  mounts  root  stat  statm  status
> 
> Why there's such a difference in procfs interface to the process information?
> 
> In addition Linux has /proc/self/ link which is named curproc in FreeBSD.
> 
> Isn't it better to have the same interface across the systems?

Maybe. Why don't you get the Linux guys to change theirs? FreeBSD has
been around longer.
-- 
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
      "The things we know best are the things we haven't been taught."
                                             - Marquis de Vauvenargues



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