Re: Stop

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGZ4i9Qsvh92oD1YF_+JpjCcjjdvGszZY-SxgyNTPCtuUA@mail.gmail.com>
On 10 January 2012 00:00, John Davidson <[email protected]> wrote:
> How to I Stop the program from running?

   Which program?
   On what operating system?
   How did you start it?

If you're talking about "snmpd" on a Unix-style box (including Mac OS X),
then you can terminate it by running "ps -ef | grep snmpd"  (or similar)
to find the process ID,  then running "kill {pid}"
   (Please note - *NOT* "kill -9 {pid}" !)

That's assuming you've started it by hand.   If you've used one of the
system mechanisms for starting it (e.g "service snmpd start") then
you should use the equivalent mechanism for stopping it again
(e.g. "service snmpd stop")


Under Windows, you'd typically use the Task Manager to locate and kill
the program.   That's unless you've registered the agent as a service,
in which case you'd use "net start" and "net stop", or the Services
Control Panel.
    See README.win32 for more information on this.

Dave

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.