User Tools

Site Tools


start

This is an old revision of the document!


QRwho

QRwho is a little tool do display graphically the output of rwho and ruptime. At first sight you've got an overview of your Linux-Cluster and the load of each node.

Features

  • search for a host-name or part of it
  • search for hosts on which a specific user is logged in
  • defineable command-buttons, which run a command on the target host and display the output (ssh-based)
  • colored alert, if a host is down or his maxload is overstepped
  • colored load-display (interpolation of an rgb-spectrum)
  • define a default MaxLoad (colored alert, when the load is higher)
  • maxload per host

Downloads

Version 0.1

Binaries

  • Tar-Ball:
  • Debian-Package:

Source

Build

$> tar xvzf qrwho.tar.gz
$> cd qrwho
$> qmake
$> make
$> ./qrwho

Dependencies

  • rwho & ruptime
  • ssh

Configuration

QRwho searches for the configuration-file ("config") the working directory. Is it not found, QRwho uses this standard-config:

#Default maximal Load:
MaxLoad=2
#Show command-buttons, values: 0/1
CMDS=1
#Define commands for each Button
NodeCMD1=cat /proc/meminfo
NodeCMD2=dmesg
NodeCMD3=ps auxf
NodeCMD4=lsb_release -c
NodeCMD5=uname -a

#Load minimal and maximal color (RGB)
MinColor=0,200,255
MaxColor=150,200,0

#MaxLoad per PC, format: MLhostname=Load
MLpool01=4.2
MLpool02=2

start.1248965949.txt.gz · Last modified: 2009/07/30 14:59 by zedv

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki