Is there a way to read a managed server's uptime using JBoss CLI?

Solution Verified - Updated -

Issue

  • Is there a way to read a managed server's uptime using JBoss CLI like shown in server.log ? Server is running in domain mode and can't seem to find it.
17:53:16,673 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss EAP 6.1.1.GA (AS 7.2.1.Final-redhat-10) started in 4476ms - Started 142 of 201 services (58 services are passive or on-demand)
  • We have some query regarding JBoss uptime, from our monitoring tool we are getting The resource is not responding .We checked the server uptime, it looks fine.

  • Is there any way (command) to find out the uptime of JBoss?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content