@wes

hi can u tell me the link of tutorials where i can understand what is going
on in the hr_swrun.c so that i can modify it to add the information about
the processes other than linux processes.
Regards

Anshul


On Tue, Apr 28, 2009 at 9:06 PM, Wes Hardaker <
[email protected]> wrote:

> >>>>> On Tue, 28 Apr 2009 18:35:02 +0530, anshul mittal <
> [email protected]> said:
>
> am> The output would thus consist of the standard info about the linux
> processes
> am> and the new appended info about the "other processes" read from the
> file
> ...
> am> It uses the functions in
> am> /agent/mibgroup/host/hr_swrun.c to get the info.
>
> Well, you found the right file to modify in order to achieve what you
> want.  You should probably start by looking at the tutorials for writing
> agent code, as you'll need to understand what's going on within that
> file.
>
> But...  I'm not sure what you're trying to do is wise in the first
> place.  You didn't explain your motivations and what you're trying to
> achieve, but you need to watch out for conflicts between the linux and
> your own processes.  I think there are probably better ways to
> accomplish what you want than reusing an existing table.
> --
> Wes Hardaker
> Please mail all replies to [email protected]
>
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to