Total number of processes

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
JohnneyBoy
Posts: 7
Joined: Fri Aug 24, 2007 9:30 am

Total number of processes

Post by JohnneyBoy »

Hello,

Is there an OID for the total number of processes runing on a linux box?

John
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

HOST-RESOURCES-MIB::hrSystemProcesses holds that data
Reinhard
JohnneyBoy
Posts: 7
Joined: Fri Aug 24, 2007 9:30 am

Post by JohnneyBoy »

Is that via snmp to/from a remote machine, with snmpd running? or rather the local machine? I was trying to get the info from a remote machine.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

That doesn't matter as long as the HOST MIB is supported on the target, be it localohost or remote
Reinhard
JohnneyBoy
Posts: 7
Joined: Fri Aug 24, 2007 9:30 am

Post by JohnneyBoy »

Ok, great thanks, I'll give it a try.
JohnneyBoy
Posts: 7
Joined: Fri Aug 24, 2007 9:30 am

Post by JohnneyBoy »

Hello,

OK, I'm not convinced that HOST-MIB is supported in snmp-net (fedora 6), as asking for the number of processes does not produce any results, just a falt line, humm

Is there anyway I can prove this. i.e. by using snmpwalk with the correct OID, whatever it is.

John
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Sure:

Code: Select all

snmpwalk -c ... -v 1 localhost hrSystemProcesses
Reinhard
JohnneyBoy
Posts: 7
Joined: Fri Aug 24, 2007 9:30 am

Post by JohnneyBoy »

Thanks, that worked a treat, so it looks like the snmp agent is working fine.

John
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Then, please use the "Host MIB - Logged In Users" Graph Template for those hosts
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests