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?

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
1 Like

@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 :slight_smile:

1 Like