What a surprise, this week-end I received I very nice email asking me some help on the plugins I wrote for dstat. I wrote them more then 2 years ago while listening to Linus Torvalds in Cambridge 🙂
The request was to enable the read of the password and user from the my.cnf file instead of exporting them in environment variables.
Here are the patch for the release 7.x (fedora) and 6.x (centos 5.3)
The patch is only for one of the plugin, but it’s easy to apply it to all of them.