• Jay Lan's avatar
    [PATCH] enhanced I/O accounting data patch · 9ca7d6f6
    Jay Lan authored
    This patch is to offer common accounting data collection method at I/O for
    various accounting packages including BSD accounting, ELSA, CSA and any
    other acct packages that use a common layer of data collection.
    
    Patch is made to fs/read_write.c to collect per process data on character
    read/written in bytes and number of read/write syscalls made.
    
    New struct fields are added to task_struct to store the data.
    
    These data are collected on per process basis.
    Signed-off-by: default avatarJay Lan <jlan@sgi.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    9ca7d6f6
fork.c 29.7 KB