Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
09-08-2022 04:45 AM
Is there any way to get the current online/offline status of a DBMS? Similar to how the cypher query "show databases" can get the current status of databases in a DBMS.
It doesn't have to be through cypher. I just cant find a way to get the current status of a DBMS for my custom c# application.
09-18-2022 12:07 PM
Hello @elias_eychouh 😀
If Neo4j is installed as service on your server, you can have the status of the DBMS with systemctl status service on Linux and bin\neo4j status on Windows.
Regards,
Cobra
09-28-2022 05:28 AM
Hmmm, unfortunately it's not. Thanks for the idea though.
09-28-2022 05:44 AM
Can it be in Cypher or not at all?
10-03-2022 04:07 AM - edited 10-03-2022 04:08 AM
I'm not certain, because I want to check the status of all dbms continuously/in synergy with neo4j desktop. What did you have in mind though? Could be interesting.
10-03-2022 06:28 AM
I was thinking about the SHOW DATABASES command you can execute from the system database.
10-04-2022 01:44 AM - edited 10-04-2022 01:45 AM
I'm already familiar with "SHOW DATABASES" which doesn't show the status of a DBMS only its databases. Only way to find out if a dbms is online is if you run queries against it through the neo4j driver. And thats not optimal for my application. The user has to keep track themselves what dbms is online on neo4j desktop.
It would be nice if relate.dbms.json file had the status of its respective dbms or something similar.
Thanks though.
10-04-2022 09:14 AM
You could just send a query like this:
RETURN 1
All the sessions of the conference are now available online