-
Notifications
You must be signed in to change notification settings - Fork 177
Hackergarten
Julien Viet edited this page Jan 13, 2014
·
10 revisions
La commande JMX existante offre deux fonctionnalités de bases (recherche de MBean et recupération d'attributs JMX de MBean). La commande peut être améliorée de plusieurs façons:
- Invocation d'opérations sur un MBean:
jmx invoke java.lang:type=Memory gc
- Affichage des informations d'un MBean:
jmx info java.lang:type=Memory
- Affectation des attributes d'un MBean:
jmx set foo:bar=juu attribute_name attribute value
- Effectuer une requête auprès du MBeanServer pour trouver des MBean
La commande JMX existante se trouve dans $CRASH_HOME/cmd/base/jmx.groovy
.
- implémentation de
sed
- améliorer l'implementation existante de
egrep
.
Metrics is a Java library which gives you unparalleled insight into what your code does in production. http://metrics.codahale.com