Whamcloud - gitweb
b=10968
authormilind <milind>
Thu, 12 Jul 2007 14:51:53 +0000 (14:51 +0000)
committermilind <milind>
Thu, 12 Jul 2007 14:51:53 +0000 (14:51 +0000)
commit27d75fb3d06660318e355ce90ef6c2a969556675
tree6defde427c9c48ab6ed585258f1e86db4c7e7bee
parent1e25267bc0a56af4e895074d4930247fccedac98
b=10968
r=nathan, komaln

Description:
track_stats runs command given and does one of the following:
        1. Writes its pid to /proc/fs/lustre/llite/.../stats_track_pid
 to collects stats for that process.
        2. Writes its ppid to /proc/fs/lustre/llite/.../stats_track_ppid
 to collect stats of that process and all its children
        3. Sets gid of process to some random gid (444) and also
 writes that to/proc/fs/lustre/llite/.../stats_track_gid to collect stats
of all processes in that group

 It also uses llstat to generate output with interval of 1 second and duration
 of run of command for plot-llstat to generate a graph
lustre/utils/Makefile.am
lustre/utils/ltrack_stats.c [new file with mode: 0644]