cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

System information (How to get a neo4j server uptime)

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

@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