KTimemon is a small program to keep track of your computer's system usage. It can display bar graphs containing information about CPU, memory, and swap usage as well as disk usage and context switch activity. In keeping with the spirit of KDE, it supports configuration via a graphical user interface. It also supports docking, that is, it can display information in the system panel tray.
Currently, KTimemon only supports a limited number of systems:
Linux® based installations with the /proc
file
system, Solaris™ based installations with the
kstat
library, and Digital Unix-like (formerly
DEC/OSF1) based installations with the
table(2) system call. Help with
porting it to other platforms is most welcome.
KTimemon can be started from the command line or from the KDE
menu (in the
submenu). If you choose to start from the command line, KTimemon
honors the usual X Window System® program flags such as
-geometry
. KTimemon is
session-aware, that is, it keeps track of the current
state (colors, etc.) and restores it in the user's next session.
After starting KTimemon a small window will appear displaying information gathered from the operating system. If you move the mouse pointer over the KTimemon window and let it rest for a small amount of time, a tool-tip (that is, a small transient window) will appear. The tool-tip contains numeric information about the system parameters displayed by the bar graphs. Tool-tips can be disabled (refer to Configuration).
KTimemon can display two different sets of system information. As explained in the Configuration chapter, mouse buttons can be bound to various actions. Per default, the left mouse button is bound to the mode switch action, that is, by clicking the mouse button mouse button anywhere in the KTimemon window, the displayed information switches from Normal Mode (the default) to Extended Mode, and vice versa.
After starting KTimemon for the first time, it will show information about the current CPU activity, as well as memory and swap usage. Three bar graphs are used to show this information; they are updated regularly (the default sample interval is 0.5s, but it can be changed, see Configuration). The three bar graphs represent (from left to right):
KTimemon shows the bar in three different colors, representing CPU time spent in various modes. From bottom to top they are: kernel mode, user mode, and user mode with lowered priority (nice) - since Solaris™ does not seem to support statistics for nice mode, the topmost part of the bar represents time spent in the wait state on such systems. The gap from the top of the bar to the top of the window represents the percentage the CPU idle time.
Similar to the CPU usage bar, this bar is composed of three sub fields, representing (from bottom to top): memory allocated by processes, memory used for I/O buffering, and memory used for file caching. For Digital Unix-like based systems, the middle section represents “inactive” memory (that is, memory allocated and not used for a certain amount of time), and for Solaris™ based systems, the middle section of the bar is not used, and the topmost section represents the amount of memory used by the kernel. Again, the gap from the top of the bar to the top of the window represents free memory.
This bar consists of a single field representing the current swap usage relative to the system's total amount of swap space.
Clicking the mouse button bound to “mode switch” in the KTimemon window switches to “Extended Mode”.
In this mode, the three bar graphs are used to display a different set of system information. Again from left to right, they show:
This bar consists of two parts, the lower half of which shows the number of memory pages written to secondary storage in the last sample interval. Similarly, the upper half indicates the number of pages read from secondary storage.
The second bar displays the analog information for swap activity.
Again, this bar graph consists of a single field which indicates the number of context switches in the last sample interval.
Since there is no “natural” way of scaling the information shown in “Extended Mode”, by default KTimemon uses autoscaling (explained in the Common Questions Section). There is, however, the possibility of specifying the scaling information, see the Configuration section.
Note that the two sets of bar graphs share the same colors, that is, the colors setup for “Normal Mode” is also used for displaying information in “Extended Mode” (see also Configuration on how to change the color scheme).
Would you like to comment or contribute an update to this page?
Send feedback to the TDE Development Team