cancel
Showing results for 
Search instead for 
Did you mean: 

Join the community at Nodes 2022, our free virtual event on November 16 - 17.

System information (How to get a neo4j server uptime)

ricardo_lopes
Node Link

Hi! I'm using Neo4j 4.3.1 Enterprise Edition.
I mostly use the bolt driver, as I only shoot cypher statements against database. Is there any way of knowing Neo4j database uptime?

1 ACCEPTED SOLUTION

you can use the JMX beans of the JVM to query for system informaiton.

call dbms.queryJmx("java.lang:type=Runtime") 
yield attributes 
return attributes.Uptime

View solution in original post

3 REPLIES 3

you can use the JMX beans of the JVM to query for system informaiton.

call dbms.queryJmx("java.lang:type=Runtime") 
yield attributes 
return attributes.Uptime

ricardo_lopes
Node Link

@michael.hunger Perfect, thanks! I've seen some JMX queries like this one, but I haven't found direct documentation on these, have you got any advice on where to search for?

I usually just google for JMX MBean and the thing I want to see