Re: [PATCH 4/4] per-task-delay-accounting: /proc export for memory reclaim delay

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Keika Kobayashi <kobayashi.kk@...>
Cc: <kosaki.motohiro@...>, <linux-kernel@...>, <akpm@...>
Date: Tuesday, June 3, 2008 - 11:07 pm

Hi


userland program oftern below access.
thus, this patch break userland compatibility.

----------------------------------------
#!/usr/bin/perl

$stat = `cat /proc/$pid/stat`;
split
@stat_list = split(/ / , $stat);
print stat_list[$index];
                 ^
                 |
                 use array index number



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 4/4] per-task-delay-accounting: /proc export for ..., KOSAKI Motohiro, (Tue Jun 3, 11:07 pm)