Selon Guillaume Thouvenin <guillaume.thouvenin@polymtl.ca>: >> I ask that because I wanted to use information given by BSD process >> accounting >> but this information isn't complete. In particular in do_acct_process(): >> ... >> ac.ac_io = encode_comp_t(0 /* current->io_usage */); /* %% */ >> ac.ac_rw = encode_comp_t(ac.ac_io / 1024); >> ... I tried to add blocks IO metrics in order to enable BSD accounting (because currently this part is broken). Thus I wrote new code but it seems that it's not enough as value for blocks read and write are always 0. I attach the patch. Every comments and clues are welcome. Best, Guillaume -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/