TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Maurice Kinal
from: Sean Rima
date: 2006-08-03 12:24:36
subject: See outbound

Hello, hello turn your radio on. Is there anybody out there? Help me sing
my song. (Bates - Hello)

 MK> Jul 16 20:29 06, Sean Rima wrote to Maurice Kinal:

 SR>> It is not the contents of the packets I need to see just the total 
 SR>> amount of the outbound, like an outbound manager but not part of a 
 SR>> mailer

 MK> 'ls' works excellent if we're talking linux which I am not sure we are. 
 MK> If so then a simple bash script will work such as;

 MK> #!/bin/bash
 MK> OUTBOUND=/home/fido/outbound
 MK> for file in $OUTBOUND/*.hlo ; do
 MK>    for pkt in `cat $file` ; do
 MK>       echo "Outbound pkts for node $file:"
 MK>       ls -al $pkt
 MK>    done
 MK>    echo
 MK> done

 MK> The above is pretty basic and could be fancied up by replacing $file in
 MK> the echo part with the actual fido node or point address.  Also you may
 MK> have to do simular for the .hlo extention depending on how you deal with
 MK> nodes and/or points.  The general idea is there though and will report
 MK> how many bytes there are in every outbound pkt for every node in the
 MK> outbound directory.  If no *.hlo's then nothing gets echoed back.

 MK> Don't you wish all OS's were that easy to write utils for?  ;-)


Yeah I do but sadly I am challenged at the moment until I can get my ipod
to work via my linux setup and have to use XP

Sean

This is the end, beautiful friend
This is the end, my only friend, the end...(Doors - The End)
--- 
* Origin: There Can Only Be 1 (2:263/950)
SEEN-BY: 633/267 270
@PATH: 263/950 280/4312 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.