Re: Monitoring processes on Windows 2000 using Net SNMP running on

This is a discussion on Re: Monitoring processes on Windows 2000 using Net SNMP running on within the SNMP Coders forums, part of the Networking and Network Related category; I have now made progress through changing the PSCMD variable in the file net-snmp/net-snmp-config.h from &...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-22-2005
Mark Harper
 
Posts: n/a
Default Re: Monitoring processes on Windows 2000 using Net SNMP running on


I have now made progress through changing the PSCMD variable in the file

net-snmp/net-snmp-config.h

from "/bin/ps -eW" to "/usr/bin/ps.perl -eW"

(ps.perl is a shell I have written that removes the path from the
COMMAND column of ps)

This works but it is a cheat really as net-snmp-config.h is auto
generated by the configure and configure.in files during configuration
and I'm not sure how to alter these files in order to generate the
desired net-snmp-config.h

I will use the DOS file /X names as the parameter to the procfix command
in order to restart a Windows process with a space in its path name.

Thanks for all the useful responses,

Mark

Baggesen wrote:
> On Sun, Nov 20, 2005 at 10:33:03AM -0500, Robert Story wrote:
> > On Fri, 18 Nov 2005 19:12:05 -0500 Alex wrote:
> > AB> c:\Progra~1\MOZILL~1\
> >
> > This should probably make it's way into the documentation somewhere.

>
> I dont think you can make the cygwin ps use the 8.3 name in any way.
>
> /Niels




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:06 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0