[英]Get neo4j uptime using cypher
I need to make a query to get the uptime of a neo4j database that I connect to remotely.我需要查询以获取远程连接的 neo4j 数据库的正常运行时间。 I have been looking at the documentation, especially the cypher console as it is the one I use to connect to neo4j but I can't find anything about the uptime.
我一直在查看文档,尤其是 cypher 控制台,因为它是我用来连接到 neo4j 的控制台,但我找不到任何关于正常运行时间的信息。 Thank you very much.
非常感谢。
Seems like there is an option to get the uptime with the following Cypher statement:似乎可以使用以下 Cypher 语句来获得正常运行时间:
call dbms.queryJmx("java.lang:type=Runtime")
yield attributes
return attributes.Uptime
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.