Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752588AbYFDE0D (ORCPT ); Wed, 4 Jun 2008 00:26:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750770AbYFDEZv (ORCPT ); Wed, 4 Jun 2008 00:25:51 -0400 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:37325 "EHLO fgwmail7.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750751AbYFDEZv (ORCPT ); Wed, 4 Jun 2008 00:25:51 -0400 Date: Wed, 04 Jun 2008 13:26:17 +0900 From: KOSAKI Motohiro To: Keika Kobayashi Subject: Re: [PATCH 4/4] per-task-delay-accounting: /proc export for memory reclaim delay Cc: kosaki.motohiro@jp.fujitsu.com, linux-kernel@vger.kernel.org, akpm@linux-foundation.org In-Reply-To: <20080603211142.c0977893.kobayashi.kk@ncos.nec.co.jp> References: <20080604120235.940B.KOSAKI.MOTOHIRO@jp.fujitsu.com> <20080603211142.c0977893.kobayashi.kk@ncos.nec.co.jp> Message-Id: <20080604132513.9414.KOSAKI.MOTOHIRO@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.42 [ja] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 669 Lines: 24 > > ---------------------------------------- > > #!/usr/bin/perl > > > > $stat = `cat /proc/$pid/stat`; > > @stat_list = split(/ / , $stat); > > print stat_list[$index]; > > ^ > > | > > use array index number > > Certainly, it makes sense. > I thought this measurement value should be put > beside other delay account. Yeah, I'm looking forward to your v2 :) Thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/