Re: Discrepancy between ps -i -o inblk and figuring numbers by hand

2005-03-29 Thread Giorgos Keramidas
On 2005-03-25 20:17, Jonathan Stewart [EMAIL PROTECTED] wrote: --- Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2005-03-25 10:08, Jonathan Stewart [EMAIL PROTECTED] wrote: --- Giorgos Keramidas keramida at ceid dot upatras dot gr wrote: So, what you are looking for is a single byte count that

Re: Discrepancy between ps -i -o inblk and figuring numbers by hand

2005-03-25 Thread Jonathan Stewart
--- GiGiorgoseKeramidaskekeramidaeceidpupatrasr wrote: On 2005-03-24 19:53, Jonathan Stewart [EMAIL PROTECTED] wrote: --- Dan Nelson dndnelsonlallantgroupom wrote: In the last episode (Mar 24), Jonathan Stewart said: In that case how would I track how much information a process has actually

Re: Discrepancy between ps -i -o inblk and figuring numbers by hand

2005-03-25 Thread Giorgos Keramidas
On 2005-03-25 10:08, Jonathan Stewart [EMAIL PROTECTED] wrote: --- Giorgos Keramidas keramida at ceid dot upatras dot gr wrote: So, what you are looking for is a single byte count that increases sequentially for all read() and write() system calls? Pretty much, yes. To be specific all

Re: Discrepancy between ps -i -o inblk and figuring numbers by hand

2005-03-25 Thread Jonathan Stewart
--- Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2005-03-25 10:08, Jonathan Stewart [EMAIL PROTECTED] wrote: --- Giorgos Keramidas keramida at ceid dot upatras dot gr wrote: So, what you are looking for is a single byte count that increases sequentially for all read() and write()

Discrepancy between ps -i -o inblk and figuring numbers by hand

2005-03-24 Thread Jonathan Stewart
When I run the command ps -u -o inblock on a process reading a 262144000 byte file the highest block count I see is ~2010 but my filesystem block size is 16384 and 262144000/16384 is 16000 so it seems to be off by about a factor of 8. I even tried looking through the source code for the ps command

Re: Discrepancy between ps -i -o inblk and figuring numbers by hand

2005-03-24 Thread Dan Nelson
In the last episode (Mar 24), Jonathan Stewart said: When I run the command ps -u -o inblock on a process reading a 262144000 byte file the highest block count I see is ~2010 but my filesystem block size is 16384 and 262144000/16384 is 16000 so it seems to be off by about a factor of 8. I even

Re: Discrepancy between ps -i -o inblk and figuring numbers by hand

2005-03-24 Thread Jonathan Stewart
--- Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Mar 24), Jonathan Stewart said: When I run the command ps -u -o inblock on a process reading a 262144000 byte file the highest block count I see is ~2010 but my filesystem block size is 16384 and 262144000/16384 is 16000 so it

Re: Discrepancy between ps -i -o inblk and figuring numbers by hand

2005-03-24 Thread Dan Nelson
In the last episode (Mar 24), Jonathan Stewart said: In that case how would I track how much information a process has actually read from a drive? I occasionally run processes that will read as much as 40+ gig in a single run which takes quite a while and on windows :P I can see bytes read

Re: Discrepancy between ps -i -o inblk and figuring numbers by hand

2005-03-24 Thread Jonathan Stewart
--- Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Mar 24), Jonathan Stewart said: In that case how would I track how much information a process has actually read from a drive? I occasionally run processes that will read as much as 40+ gig in a single run which takes quite a

Re: Discrepancy between ps -i -o inblk and figuring numbers by hand

2005-03-24 Thread Giorgos Keramidas
On 2005-03-24 19:53, Jonathan Stewart [EMAIL PROTECTED] wrote: --- Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Mar 24), Jonathan Stewart said: In that case how would I track how much information a process has actually read from a drive? I occasionally run processes that will read