GKrellm is a system monitoring utility that displays the current system state in a nice GUI. Fortunately, it supports a client/server mode that uses a simple network protocol for communicating the system state. So, instead of sending the entire state of the system back to the GUI client, we send back the state of a TimeSys resource set. The following monitors are supported:
Definition in file gkemu.h.
Include dependency graph for gkemu.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Enumerations | |
| enum | gka_tag_t { GKA_TAG_DONE, GKA_HostName, GKA_SystemName, GKA_CPUUser, GKA_CPUIdle, GKA_CPUReserveUser, GKA_CPUReserveNice, GKA_CPUReserveIdle, GKA_UpTime, GKA_Processes, GKA_ProcessesRunning } |
| Argument tags for the functions. More... | |
Functions | |
| int | gkFormatPreamble (char *buf, size_t buf_len, gka_tag_t tag,...) |
| Format the preamble into the given buffer. | |
| int | gkFormatUpdate (char *buf, size_t buf_len, gka_tag_t tag,...) |
| Format an update into the given buffer. | |
Variables | |
| const char * | gkInitialUpdateOpen |
| Tag string used to mark the beginning of the "initial update". | |
| const char * | gkInitialUpdateClose |
| Tag string used to mark the end of the "initial update". | |
|
|
Argument tags for the functions.
Definition at line 44 of file gkemu.h. Referenced by gkFormatPreamble(), and gkFormatUpdate(). |
|
||||||||||||||||||||
|
Format the preamble into the given buffer.
Definition at line 34 of file gkemu.c. References ensure, GKA_HostName, GKA_SystemName, gka_tag_t, and require. Referenced by sigio(). |
|
||||||||||||||||||||
|
Format an update into the given buffer.
Definition at line 109 of file gkemu.c. References ensure, GKA_CPUIdle, GKA_CPUReserveIdle, GKA_CPUReserveNice, GKA_CPUReserveUser, GKA_CPUUser, GKA_Processes, GKA_ProcessesRunning, gka_tag_t, GKA_UpTime, and require. Referenced by sigalrm(). |
1.3.9.1