Thanks for the input.

It seems cmdline has the command I am checking but status has it cut off at
15 characters.  I tried adding the exact match from cmdline and process is
still not detected.  I'm going to trudge through the hr_swrun.c code to see
if I can see where the problem may be.

There is also the problem of some of the other processes randomly reporting
incorrectly as well.  I currently only experience this on one of a dozen
servers all running 5.4.1.

----
Larry Low
4150 N Drinkwater Blvd., 5th Floor
Scottsdale, AZ  85251
Office: 480.385.7045
E-mail: [EMAIL PROTECTED]'

Telesphere Networks, Inc


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:net-snmp-
> [EMAIL PROTECTED] On Behalf Of Dave Shield
> Sent: Thursday, January 31, 2008 9:07 AM
> To: Larry Low
> Cc: [email protected]
> Subject: Re: Couple of Issues with 5.4.1
> 
> On 31/01/2008, Larry Low <[EMAIL PROTECTED]> wrote:
> > A) CPU in HOST-MIB takes a while to populate after startup.
> 
> That's correct.
> This MIB object is measuring a one-minute average of
> processor activity, so the agent cannot start reporting
> a value until it has one minute's worth of statistics.
> 
> 
> > B) prEntries prCount is inaccurate at times.  I have one process that
> it
> > doesn't ever detect as running.
> 
> Depending on the exact build configuration, this will either be looking
> at the contents of /proc/{pid}/cmdline   or  /proc/{pid}/status
> 
> It might be worth checking the contents of these two files,
> and seeing whether the name of the process is reported differently
> between the two.   (And how these compare to the name that you
> are looking for).
> 
> 
> Dave
> 
> -----------------------------------------------------------------------
> --
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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

Reply via email to