Pitstat
Pitstat is a statistical tool that watches the specific PID or all the processes running in the system. This displays a detailed report of disk usage, CPU usage, threads associated with the process and child process.New process are created with the help of fork() command in linux and these child process are monitored through the pitstat command. Using this command we can know the number of context switches a process makes and also the memory leaks can be calculated.