Skip Navigational Links
LISTSERV email list manager
LISTSERV - COMMUNITY.EMAILOGY.COM
LISTSERV Menu
Log In
Log In
LISTSERV 17.5 Help - LSTSRV-L Archives
LISTSERV Archives
LISTSERV Archives
Search Archives
Search Archives
Register
Register
Log In
Log In

LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Menu
LISTSERV Archives LISTSERV Archives
LSTSRV-L Home LSTSRV-L Home

Log In Log In
Register Register

Subscribe or Unsubscribe Subscribe or Unsubscribe

Search Archives Search Archives
Options: Use Forum View

Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

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

Print Reply
Subject:
Re: Utilizing lcmd
From:
Giles Hogben <[log in to unmask]>
Reply To:
LISTSERV give-and-take forum <[log in to unmask]>
Date:
Sun, 6 May 2001 20:00:56 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
If you use the ODBC option for subscribers then you can query subscriber
lists  directly.using SQL
----- Original Message -----
From: "Roger Fajman" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Sunday, May 06, 2001 7:30 PM
Subject: Re: Utilizing lcmd


> > 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

COMMUNITY.EMAILOGY.COM CataList Email List Search Powered by LISTSERV