Reputation: 198577
I've been using Python's built-in cProfile tool with some pretty good success. But I'd like to be able to access more information such as how long I'm waiting for I/O (and what kind of I/O I'm waiting on) or how many cache misses I have. Are there any Linux tools to help with this beyond your basic time command?
Upvotes: 1
Views: 1184
Reputation: 40669
If you want to know exactly what you are waiting for, and approximately what percentage of the time, this will tell you. It won't tell you other things though, like cache misses or memory leaks.
Upvotes: 1
Reputation: 29759
I'm not sure if python will provide the low level information you are looking for. You might want to look at oprofile and latencytop though.
Upvotes: 2