[Mailman-Users] How to get
cwaltham at bowdoin.edu
Wed Sep 5 16:45:05 CEST 2007
On Sep 5, 2007, at 5:10 AM, BG Mahesh wrote:
> We have several mailing lists running on our list server. I am
> looking for a
> script that will extract the number of active users in each list.
> Is there
> such a utility?
Here is a simple bash script to accomplish it:
for i in $*
echo "$i has `./list_members $i | wc -l` members"
When you run the script, you get this output:
[root at bingham bin]# ./count_users.sh Td_classes Yoga
Td_classes has 21 members
Yoga has 169 members
> B.G. Mahesh
More information about the Mailman-Users