![]() The first section of the file starts right from the beginning, the second section consists of everything after the line which says TEXT. This includes things such as the system uptime ( $uptime), CPU usage ( $cpu) and anything else you want to be shown. The second section contains the actual text, graphs, and variables which are rendered on the screen. This includes things such as the update_interval, or how often Conky will update the information on the screen. The first section of the file, contains the program configuration options and controls how it acts. You may notice that there are two separate sections of the configuration file. Now, open up the sample configuration in the text editor of your choice. You can add syntax highlighting for Conky's configuration file with the vim-syntax and nano-syntax USE flags, depending on your preferred editor. In addition, the truetype USE flag compiles support for TrueType fonts with the use of Xft. If you want to use the TCP port monitor, be SURE to disable the ipv6 use flag, as the port monitor is for IPv4 systems only. You'll most likely want X11 support ( X), and make sure you select the USE flags for any music players (other than MPD) which you want, such as Audacious ( audacious). Pay particular attention to the USE flags. ![]() Gentoo provides an ebuild to quickly and easily install Conky. If the functionality you require isn't in Conky yet, it is a simple matter of writing a script to get the information you would like - some examples of this, which have already been done are RSS feeds, POP3 e-mail message count, local weather, boinc status, and even the status of Portage. In addition to monitoring the system itself, Conky can also give you information about several music players (such as Music Player Daemon and Audacious Media Player), tell you how many new messages are in your mail spool, and plenty more. Also, unlike top, the way it is formatted is completely user-configurable. It displays the information it has gathered through the use of both text, progress bars, and graphs. ![]() Unlike other system monitors such as top, Conky can run as a window in an X session, or by drawing to the root window (there is also an option to have Conky display information to stdout, but we won't discuss that here). What do you do from here? Isn't there an easier way to monitor system performance and see what it's doing, as well as the resources it's using to perform all those tasks? This is what a system monitor, such as Conky, provides. So you have a Gentoo machine, and have already learned 30 different commands to monitor different aspects of what your computer is doing at the current moment.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |