[jboss-user] [Management, JMX/JBoss] - Re: How do I remotely access an mbean attribute value?

dimitris@jboss.org do-not-reply at jboss.com
Tue Oct 2 10:48:35 EDT 2007


For the mbean you are interested in, check out the exported attributes operations, e.g.:


  | cd jboss-x.y.z\bin
  | twiddle info "jboss.web:type=GlobalRequestProcessor,name=http-127.0.0.1-8080"
  | 
  | Description: null
  | +++ Attributes:
  |  Name: modelerType
  |  Type: java.lang.String
  |  Access: r-
  |  Name: errorCount
  |  Type: int
  |  Access: rw
  |  Name: bytesReceived
  |  Type: long
  |  Access: rw
  |  Name: bytesSent
  |  Type: long
  |  Access: rw
  |  Name: processingTime
  |  Type: long
  |  Access: rw
  |  Name: requestCount
  |  Type: int
  |  Access: rw
  |  Name: maxTime
  |  Type: long
  |  Access: rw
  | +++ Operations:
  |  void resetCounters()
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090694#4090694

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090694



More information about the jboss-user mailing list