Sebastian A. Aresca wrote:
Hi i just install weblet.lrp the full package with the bandwidth monitor
but the problem is that it pool every 3 seconds aproach.
I want that refresh every 1 second.
Anybody know the file in lrpStat.jar to modify?
No need to mess with lrpStat.jar (that's only the client program anyway) - open to /etc/inetd.conf and look for a line that looks somewhat like this (can't say exactly what it looks like, since I don't know if you're using Dachstein or Bering or Bering uClibc):

stat stream tcp nowait root /usr/sbin/tcpd /usr/sbin/stat.sh

and change it to

stat stream tcp nowait root /usr/sbin/tcpd /usr/sbin/stat.sh 1

Restart (or send SIGHUP to) inetd, an for every new connection, you should get samples every second (don't forget to back up etc.lrp once everything works).

Martin



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to