From mboxrd@z Thu Jan 1 00:00:00 1970 From: Davidlohr Bueso Subject: Re: [RFC] [PATCH procfs] Add process age Date: Fri, 30 Jul 2010 10:58:27 -0400 Message-ID: <1280501907.1929.5.camel@cowboy> References: <1279907271.4335.3.camel@cowboy> <20100723183549.GA10518@x200> <1279910830.1851.5.camel@cowboy> <87fwz6it0e.fsf@basil.nowhere.org> <1280152668.2212.1.camel@cowboy> <20100726144848.GC17756@basil.fritz.box> <1280157029.2212.17.camel@cowboy> <20100728065640.GD5161@cr0.nay.redhat.com> Reply-To: dave@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Andi Kleen , Alexey Dobriyan , torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: =?ISO-8859-1?Q?Am=E9rico?= Wang Return-path: Received: from hapkido.dreamhost.com ([66.33.216.122]:43247 "EHLO hapkido.dreamhost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758585Ab0G3O7Q convert rfc822-to-8bit (ORCPT ); Fri, 30 Jul 2010 10:59:16 -0400 In-Reply-To: <20100728065640.GD5161@cr0.nay.redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, 2010-07-28 at 14:56 +0800, Am=C3=A9rico Wang wrote: > On Mon, Jul 26, 2010 at 11:10:29AM -0400, Davidlohr Bueso wrote: > >On Mon, 2010-07-26 at 16:48 +0200, Andi Kleen wrote: > >> > True, but there are also many other no-so-useful files under /pr= oc that > >> > can also be replaced by userspace apps. > >>=20 > >> Example?=20 > > > >Off the top of my head: > > > >/proc/cmdline >=20 > Are you kidding? >=20 > /proc/cmdlines contains lots of info, it is not only used by the kern= el, > but also used by initramfs (this depends on your distribution). >=20 Silly me, I meant /proc/#/cmdline, in the sense that you can get the command name from the PID in userland. Davidlohr -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html