Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Jun 2002 11:31:12 -0400
From:      Kurt Seel <kseel@utcorp.com>
To:        freebsd-smp@FreeBSD.org
Subject:   Re: Monitoring a bi-processor ?
Message-ID:  <3CF8E8C0.1B4B0713@utcorp.com>
References:  <5.0.2.1.2.20020529115143.00ab6808@localhost> <3CF5D47E.5000403@club-internet.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
Mathias HARY wrote:
> 
> Not being an expert, my solution was to use the rstatd deamon:
> In /etc/inetd.conf: uncomment "rstatd"
> On a remote computer, write a script with as many lines as need
> for all your servers with "rup otherhost"
> 
> you'll get (example taken from "man rup"):
> example% rup otherhost
> otherhost   7:36am  up 6 days, 16:45,  load average: 0.20, 0.23, 0.18
> 
> See manpages for details...
> 
> Sebastien VAUTHEROT wrote:
> 

 I find xsysstats (see ports) to work nicely as a graphical
representation for rstatd.
 Beware the dangers of enabling portmapper (Sun RPC) on a
production box.
 Here is a short script, change the particulars to taste.

#!/bin/sh

HOST=$1

xsysstats -background black -geometry 1589x70-0-46 \
        -split 4x1 \
        -border 3 -baseline white -ruler 30 \
        -window 1 -type cpu -color green \
        -host $HOST -type context -color yellow -min 8000 -max 8000 \
        -host $HOST -type disk -color red -min 1000 -max 1000 \
        -host $HOST -window 2 -type load1 -color green \
        -host $HOST -type load5 -color yellow \
        -host $HOST -type load15 -color red \
        -host $HOST -window 3 -type page -color green \
        -host $HOST -type swap -color yellow \
        -host $HOST -type interrupts -min 10000 -max 10000 -color blue \
        -host $HOST -window 4 -type packets -color green -min 512 -max 512 \
        -host $HOST -type errors -color red -min 8 -max 8 -host $HOST

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CF8E8C0.1B4B0713>