On Tue, Jun 17, 2008 at 08:56:31AM -0700, Don Stewart wrote:
> dons:
> > magicloud.magiclouds:
> > > OK. Here it is.
> > > I want to make a monitor tool for linux. It runs for a long time, and give
> > > out a certain process's io stat per second. The way I get io stat is to
> > > read
> > > from
dons:
> magicloud.magiclouds:
> > OK. Here it is.
> > I want to make a monitor tool for linux. It runs for a long time, and give
> > out a certain process's io stat per second. The way I get io stat is to read
> > from /proc/pid/io. But the data in this file is a total, I need to read it
> > first,
magicloud.magiclouds:
> OK. Here it is.
> I want to make a monitor tool for linux. It runs for a long time, and give
> out a certain process's io stat per second. The way I get io stat is to read
> from /proc/pid/io. But the data in this file is a total, I need to read it
> first, then next second,