scm

scm is a text based program which monitors client activity similar to the gnu program top. scm connects to a certain master and periodically processes the status messages sent by the clients. The output is a table where each row contains the information of a certain connected client. The rows are sorted in descending order based on the contents of the name column. Other columns can be interactively selected with the left and right arrow key. The r key changes the sorting to ascending order. The displayed parameter are the name of the binary (prog), the name of the client (name), the name of the host name from which the client is connected (host), the available memory on the clients host in kb (hmem), the clients memory usage in kb (cmem), the percentage of the clients memory usage (mem), the CPU usage (cpu), the amount of queued messages to be processed by the client (q), the average number of messages in the queue (mq), the connection time of the client to the master (uptime), the elapsed time since the last client update (resp).

Available tags

seismo@seis10:~$ scm --print-tags
using local config dir: /home/seismo/.seiscomp3
= Client info tags =
privategroup
hostname
clientname
ips
programname
pid
cpuusage
totalmemory
clientmemoryusage
memoryusage
sentmessages
receivedmessages
messagequeuesize
summedmessagequeuesize
averagemessagequeuesize
summedmessagesize
averagemessagesize
objectcount
uptime
responsetime