Re: tools to monitor per-process CPU/memory?
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 30/10/2007, Les Mikesell <[email protected]> wrote: > When I snmpwalk a Linux or Windows host I can see values returned for a > list of proceses... but of course the indexes are likely to change frequently. > > Are there any higher level tools that can monitor per-process > CPU/memory, etc., given a process name? I'm not aware of any such tool. It should be fairly straightforward to write something suitable - basically running the equivalent of "snmpwalk hrSWRunName" to determine the appropriate index(es), followed by a GET request for the corresponding performance metrics. That would work sensibly as a one-off command. For a long-running version, the GET request should probably retrieve the name as well as the performance values each time. That could then be used to detect when the indexes change. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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