watch-mimedeafang [Was: Re: [Mimedefang] MIMEDefang 2.24-BETA-2is available. Please try it!]

David F. Skoll dfs at roaringpenguin.com
Tue Oct 29 11:06:01 EST 2002


On Tue, 29 Oct 2002, Ashley M. Kirchner wrote:

> Might be easier to make it with with [n]curses.  Get rid of the X overhead
> all together.

Even easier than that!  Here's a shell script which gives text-mode output:

	while true ; do clear; md-mx-ctrl rawstatus; sleep 1; done

(That's a sh-script, not a csh (blech...) script...)

In the output:

  I = idle
  S = stopped
  B = busy
  K = killed

The number after the status word is the total number of messages scanned.
watch-mimedefang is essentially a fancier version of this one-line
shell script.

Regards,

David.




More information about the MIMEDefang mailing list