tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohan2005 <mo...@roomsnet.com>
Subject Getting CPU Usage of JVM using SNMP
Date Thu, 21 Feb 2008 10:59:50 GMT

Hello All;

I can get the JVM memory information using the following SNMP commands.

/usr/bin/snmpwalk -c public -v 2c 172.10.1.11:3000
.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.2

SNMPv2-SMI::enterprises.42.2.145.3.163.1.1.2.110.1.2.1 = STRING: "Code
Cache"
SNMPv2-SMI::enterprises.42.2.145.3.163.1.1.2.110.1.2.2 = STRING: "PS Eden
Space"
SNMPv2-SMI::enterprises.42.2.145.3.163.1.1.2.110.1.2.3 = STRING: "PS
Survivor Space"
SNMPv2-SMI::enterprises.42.2.145.3.163.1.1.2.110.1.2.4 = STRING: "PS Old
Gen"
SNMPv2-SMI::enterprises.42.2.145.3.163.1.1.2.110.1.2.5 = STRING: "PS Perm
Gen"

/usr/bin/snmpwalk -c public -v 2c 172.10.1.11:3000
.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.11

SNMPv2-SMI::enterprises.42.2.145.3.163.1.1.2.110.1.11.1 = Counter64:
11676480
SNMPv2-SMI::enterprises.42.2.145.3.163.1.1.2.110.1.11.2 = Counter64:
95143168
SNMPv2-SMI::enterprises.42.2.145.3.163.1.1.2.110.1.11.3 = Counter64: 3351432
SNMPv2-SMI::enterprises.42.2.145.3.163.1.1.2.110.1.11.4 = Counter64:
345422296
SNMPv2-SMI::enterprises.42.2.145.3.163.1.1.2.110.1.11.5 = Counter64:
119718616



Is there a way to get the CPU information for the JVM in a similar manner ?


Thanks
Regards
Mohan





-- 
View this message in context: http://www.nabble.com/Getting-CPU-Usage-of-JVM-using-SNMP-tp15607272p15607272.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message