Xaprb

Stay curious!

Archive for the ‘Tools’ Category

Profiling a process’s IO usage with ioprofile

with 11 comments

I’ve written a tool to profile a process’s IO usage. It works by gathering lsof and strace from a process, and then figuring out how the file descriptors, function calls, and filenames are all related to each other. The manual page has examples. I’m curious to see how it works for you. Note that it might be a good idea to run this on your development or staging system before you go running it against your production MySQL server — there are rumors of strace misbehaving on some kernels.

Written by Xaprb

October 7th, 2010 at 5:38 pm

Posted in Aspersa,SQL,Tools

Tagged with

Time TCP traffic with tcprstat

without comments

I just realized that I didn’t publicize this in the Postgres world, or anywhere but the MySQL blogosphere for that matter. Some folks at my company have released a generic TCP-response-time tool. Very useful for monitoring, benchmarks, historical metrics, and so on. It’s kind of like iostat, but for TCP traffic, and fully focused on time, not traffic size. Performance == time and tasks, and this is a lightweight way to measure that data. I wrote an introductory blog post here, and the documentation is here.

Written by Xaprb

September 9th, 2010 at 9:34 pm

Aspersa’s mysql-summary tool

with 2 comments

For those of you who miss what Maatkit‘s mk-audit tool (now retired) gave you, there’s a pair of tools in Aspersa that more than replaces it. I wrote previously about the summary tool. I don’t think I have mentioned the mysql-summary tool. It has been under development for a while, and at this point it has quite a lot of functionality. You can see a sample of the output on its manual page.

Written by Xaprb

July 10th, 2010 at 3:46 pm

Posted in Aspersa,Maatkit,SQL,Tools