From: Andreas Moroder on
Hello,

is there a command that shows what application is reading/writing how
much data to disk ? Something like iostat but per process.

Thanks
Andreas
From: Loki Harfagr on
Wed, 11 Aug 2010 12:24:20 +0200, Andreas Moroder did cat :

> Hello,
>
> is there a command that shows what application is reading/writing how
> much data to disk ? Something like iostat but per process.
>
> Thanks
> Andreas

would pidstat be OK?
# pidstat -d

or, for single monitoring:
# pidstat -C yourcommand -d

example:
# pidstat -C firefox-bin -h -d -T ALL 1 60
From: Andreas Moroder on
> would pidstat be OK?
> # pidstat -d
>
> or, for single monitoring:
> # pidstat -C yourcommand -d
>
> example:
> # pidstat -C firefox-bin -h -d -T ALL 1 60

Thank you very much
Andreas
From: Rahul on
Loki Harfagr <l0k1(a)thedarkdesign.free.fr.INVALID> wrote in news:4c6280b8$0
$12223$426a34cc(a)news.free.fr:

> would pidstat be OK?
># pidstat -d
>

This sounds useful! Where do I get it from? Can't find it in my centos /
epel / dag repos. Any pointers? I do have sysstat and iostat installed.

--
Rahul
From: Loki Harfagr on
Wed, 11 Aug 2010 17:58:31 +0000, Rahul did cat :

> Loki Harfagr <l0k1(a)thedarkdesign.free.fr.INVALID> wrote in
> news:4c6280b8$0 $12223$426a34cc(a)news.free.fr:
>
>> would pidstat be OK?
>># pidstat -d
>>
>>
> This sounds useful! Where do I get it from? Can't find it in my centos /
> epel / dag repos. Any pointers? I do have sysstat and iostat installed.

sorry, I don't know for Centos, in Slackware it is in one of the
root tools packages:
../ap/sysstat-9.0.6.1-x86_64-1.txz

(which BTW also provides sysstat settings and iostat, you should
find it in a 'must' or at least 'recommended' package, good luck :-)