mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-24 15:48:28 +00:00
Pavel Labath
c0d1c313e9
Support for per-task I/O statistics - $top_io
Basically, I just added three new process properties (io_read, io_write, io_perc - representing the amount of I/O done by the process during the update interval) and $top_io, that sorts processes based on io_perc. Atm, it's completely #ifdef'd, since it requires kernel support. But that creates some wierd looking syntax at some places, so it may be better to remove some ifdefs. It even may be possible to completely remove the ifdefs (ie. convert them to #ifdef linux) since the code will compile just fine even if the kernel doesn't support I/O accounting. I'll leave that for someone else to decide.
QUICK & EASY: $ sh autogen.sh $ ./configure $ make $ ./src/conky # to run Conky # make install First, read the README. This contains instructions specific to building conky fresh from the git repo: * Conky requires three "auto-tools", with at least the specific version numbers. Make sure these are installed: aclocal-1.9 automake-1.9 autoconf-2.59 * NOTE: You may also need to install docbook2X for generating the documentation. Conky will check for the following programs in PATH during configuration: db2x_xsltproc db2x_manxml xsltproc * In the directory where you cloned conky from git, run "aclocal", "automake", and then "autoconf". Make sure you run those commands with the latest versions... it is very possible that older versions are installed, and plain "automake" really means automake-1.4, not what we want, but "automake-1.9" instead. Use the "--version" option to check the program version, i.e. "autoconf --version". You can also try using the autogen.sh script, like so: $ sh autogen.sh * After that, it's the familiar $ ./configure $ make # make install You might have to do the last step as root.
Description
Check out my config at gist :)
https://gist.github.com/Llewellynvdm/02279631eabc65601a5722dcf4780768
Languages
C++
84.8%
C
4.8%
CMake
4.1%
TypeScript
2%
Objective-C++
1.8%
Other
2.4%