看板 FB_smp 關於我們 聯絡資訊
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