Re: what reason causes echo some date after command line snmpd &
Fulko Hew <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Apr 7, 2010 at 8:43 AM, Dave Shield <[email protected]>wrote: > 2010/4/7 Fulko Hew <[email protected]>: > >> I'm surprised at this output - I'd expect it to display "51" > >> instead of "39" > > > > I'm not. Although I haven't looked at net-snmpd's daemonizing code, > > any application thats going to operate as a (well behaved) daemon > > is supposed to perform (at least) 2 fork() calls to 'detatch itself from > > the controlling terminal', etc. > > But the "-f" flag disables the background fork, and runs the agent > in the foreground. So > > snmpd -f & > My apologizes to all, I didn't notice the '-f' flag. Dave is right... we don't know why the PID is different. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ 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