Assuming your question below is not rhetorical, I'd say you may be the
best one to determine that, considering that you clearly understand the 
perl script provided.  Although, it's fair to point out that anyone else
interested in this functionality could certainly review your script and 
determine the feasibility of porting it to C/C++ code.

Sorry, this all sounds a little theoretical to me. ;-)

Larry

Original Message:
-----------------
From: Elfyn McBratney [EMAIL PROTECTED]
Date: Mon, 9 Dec 2002 20:20:39 -0800 (PST)
To: [EMAIL PROTECTED]
Subject: Re: Another cygrunsrv question


I've got a perl script I use for just this, listing services on a server.
It requires NT >= 4, win32 perl or cygwin perl with Win32.pm and the al
library. I've attatced it to this post.

It shouldn't be too hard to add this functionality to cygrunsrv should it?

Elfyn
[EMAIL PROTECTED]


--- "Larry Hall (RFK Partners, Inc)" <[EMAIL PROTECTED]> wrote:
>At 11:03 PM 12/9/2002, Jack Twilley wrote:
>> >>>>> "Larry" == Larry Hall <(RFK Partners, Inc)" <[EMAIL PROTECTED]>>
writes:
>>
>>Jack> Is there any way to display information about installed
>>Jack> services?
>>
>>Jack> I'd like to see what services are installed, what arguments they
>>Jack> have, what users they run as, et cetera, to help debug this
>>Jack> perflog problem.
>>
>>Larry> You can see what services are started with 'net start'.  Not
>>Larry> sure I know of a utility that gives you all the information
>>Larry> you're looking for.
>>
>>It sounds like the kind of thing that could be rolled into cygrunsrv
>>pretty easily, since cygrunsrv modifies this information and uses it
>>for services.  Something like "cygrunsrv -L <service>" where
>>information about a particular service could be displayed, or failing
>>that, all the services on the system.
>
>
>Nice theory.
>
>
>>Jack.
>>(too bad I'm insufficiently skilled to write the code)
>
>
>Indeed.  Well at least your request and observations are in the email
>archives for anyone interested in following-up on them in the future.
>
>
>
>Larry Hall                              [EMAIL PROTECTED]
>RFK Partners, Inc.                      http://www.rfk.com
>838 Washington Street                   (508) 893-9779 - RFK Office
>Holliston, MA 01746                     (508) 893-9889 - FAX
>
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/

_____________________________________________________________
www.smokeJet.com - Free UK Internet Services

_____________________________________________________________
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No
Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to