LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Roger Fajman <[log in to unmask]>
Sun, 6 May 2001 14:30:02 -0400
text/plain (23 lines)
> I have some PERL scripts that generate Listserv reports. These scripts run
> directly on our Listserv, which is a system that runs Tru64 Unix as its
> OS. These scripts currently use the listview utility to gather information
> about the lists on our server. What I want to do is find a better way to
> generate some of the information I want. For example, given a particular
> list, I want to figure out the number of subscribers to that list and to
> do that, I am hoping I can code something like the following statement in
> PERL:
>
>   lcmd query listname for *@* | grep -c "\@"
>
> The trouble is that the lcmd utility doesn't appear to do anything. When I
> log in, gain root access or log in as listserv and type "lcmd" at the Unix
> prompt, all I get is a Unix prompt back. Nothing appears in Listserv's
> logfile either.
>
> How can I get this to work, or is there a better alternative to lcmd
> that I should look at?

LCMD puts a command in LISTSERV's queue and the result is emailed back
to the userid that LCMD ran under.  You probably want the LCMDX command
that's described in the LISTSERV Developer's Guide.

ATOM RSS1 RSS2