Re: [PATCH] 2.5.46: duplicate statistics being gathered

Zwane Mwaikambo (zwane@holomorphy.com)
Fri, 8 Nov 2002 08:51:44 -0500 (EST)


On Fri, 8 Nov 2002, Richard B. Johnson wrote:

> On Fri, 8 Nov 2002, Rick Lindsley wrote:
>
> > The <unknown quantity of> applications out there which are reading
> > the disk info from /proc/stat need to be taught to go fishing in
> > /name-of-the-day-fs.
> >
>
> There is /proc/version, which could have been used to make
> `ps` and `top` compatable over, at least previously known
> versions.
>
> The last version of procps I have a copy of is 1.2. I don't see
> anybody opening that file anywhere. Maybe it would be a good
> idea to start.

...
munmap(0x40013000, 113429) = 0
uname({sys="Linux", node="montezuma.mastecende.com", ...}) = 0
open("/proc/uptime", O_RDONLY) = 3
lseek(3, 0, SEEK_SET) = 0
..

? Or is this not what you had in mind.

Zwane

-- 
function.linuxpower.ca

- 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/