Is there any good applications on linux that can monitor a process and record how much cpu it is ta开发者_Python百科king up and what files it has open or system commands its performing.
Can also use it to hook into the so if needed.
Free is better.
top
in its various incarnations. Personally I like htop. It can also show what functions the processes are sleeping in. If you need a detailed information about the functions a process calls, use strace
For tracking open files per process lsof
is your friend.
You can look at perfkit, but it is still in development.
This question is possibly more appropriate on server fault. However check answers to this. It summarizes everything I can suggest. Top should give you the CPU usage both overall as well as split up of all processes currently being executed on your system.
精彩评论