Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Type: multipart/mixed; boundary="----------=_1039494039-13237-0" Content-Transfer-Encoding: binary Mime-Version: 1.0 Date: Mon, 9 Dec 2002 20:20:39 -0800 (PST) From: Elfyn McBratney To: cygwin AT cygwin DOT com Subject: Re: Another cygrunsrv question Reply-To: cygwin AT cygwin DOT com X-Originating-Ip: [195.92.67.76] Message-Id: <20021210042039.9C2BE3DFF@sitemail.everyone.net> Note-from-DJ: This may be spam ------------=_1039494039-13237-0 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 elfyn AT exposure DOT org DOT uk --- "Larry Hall (RFK Partners, Inc)" wrote: >At 11:03 PM 12/9/2002, Jack Twilley wrote: >> >>>>> "Larry" == Larry Hall <(RFK Partners, Inc)" > 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 " 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 lhall AT rfk DOT com >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 you AT yourchoice DOT com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag ------------=_1039494039-13237-0 Content-Type: application/octet-stream; name="ntsvcls.pl" Content-Disposition: inline; filename="ntsvcls.pl" Content-Transfer-Encoding: base64 IyBudHN2Y2xzLnBsOiBOVCBTZXJ2aWNlIGxpc3Rlcg0KIw0KIyAgIFBlcmwg c2NyaXB0IHRvIGxpc3QgdGhlIHNlcnZpY2VzIGluc3RhbGxlZCBvbiBhDQoj ICAgZ2l2ZW4gc2VydmVyLg0KIw0KIyAgIFVzYWdlOiBudHZzdmNscy5wbCBz ZXJ2ZXIxIHNlcnZlcjIgLi4uIHNlcnZlck4NCiMNCiMgICBXcml0dGVuIEJ5 IEVsZnluIG1jQnJhdG5leSA8ZWxmeW5AZXhwb3N1cmUub3JnLnVrPg0KIw0K IyBDb3B5cmlnaHQgMTk5OSwgMjAwMCwgMjAwMSwgMjAwMiBFbGZ5biBNY0Jy YXRuZXkuDQojIEFsbCBSaWdodHMgUmVzZXJ2ZWQuDQoNCkJFR0lODQp7DQoJ dXNlIHN0cmljdDsNCgl1c2UgV2luMzI6OlNlcnZpY2UgcXcoU3RhcnRTZXJ2 aWNlIFN0b3BTZXJ2aWNlIEdldFN0YXR1cyBHZXRTZXJ2aWNlcyk7DQp9DQoN Cm15ICVzdGFIYXNoID0NCigNCgknMScgPT4gJ3N0b3BwZWQuJywNCgknMicg PT4gJ3N0YXJ0IHBlbmRpbmcuJywNCgknMycgPT4gJ3N0b3AgcGVuZGluZy4n LA0KCSc0JyA9PiAncnVubmluZy4nLA0KCSc1JyA9PiAnY29udGludWUgcGVu ZGluZy4nLA0KCSc2JyA9PiAncGF1c2UgcGVuZGluZy4nLA0KCSc3JyA9PiAn cGF1c2VkLicNCik7DQpteSAlc3ZjSGFzaDsNCm15ICgkc2VydmljZSwlc3Rh dHVzSGFzaCwkc2VydmVyKTsNCg0KZm9yZWFjaCAkc2VydmVyIChAQVJHVikN CnsNCglwcmludCAiXG4tLS0gTlQgU2VydmljZXMgb24gJHNlcnZlciAtLS1c blxuIjsNCiAgICBHZXRTZXJ2aWNlcygkc2VydmVyLCBcJXN2Y0hhc2gpIG9y IG5leHQ7DQogICAgZm9yZWFjaChzb3J0IGtleXMgJXN2Y0hhc2gpDQogICAg ew0KICAgICAgICBwcmludCAiJF86ICRzdmNIYXNoeyRffVx0IjsNCiAgICAg ICAgJmdldHN0YXR1cygkc2VydmVyLCAkXyk7DQogICAgfQ0KfQ0KDQpzdWIg Z2V0c3RhdHVzDQp7DQoJR2V0U3RhdHVzKCIkX1swXSIsICIkX1sxXSIsIFwl c3RhdHVzSGFzaCk7DQoJcHJpbnQgIiRzdGFIYXNoeyRzdGF0dXNIYXNoe1wi Q3VycmVudFN0YXRlXCJ9fSBcbiI7DQp9DQoNCg0KDQo= ------------=_1039494039-13237-0 Content-Type: text/plain; charset=us-ascii -- 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/ ------------=_1039494039-13237-0--