@@ -85,41 +85,52 @@ The `neo4j-admin database info` command has the following options:
8585====
8686[source, shell]
8787----
88- bin/neo4j-admin database info mygraph.db
88+ bin/neo4j-admin database info healthcare
8989----
9090
91- Output:
92-
91+ . Output
92+ [results]
9393----
94- Store format version: record-aligned-1.1
95- Store format introduced in: 5.0.0
94+ Database name: healthcare
95+ Database in use: false
96+ Store format version: block-block-1.1
97+ Store format introduced in: 5.14.0
98+ Last committed transaction id:29
99+ Store needs recovery: false
96100----
97101====
98102
99103[role=enterprise-edition]
100104.Invoke `neo4j-admin database info` against all databases
101105====
102- The command can also be invoked against all databases, as follows:
103-
104- `neo4j-admin database info --from-path=<databases-directory>`
105-
106106[source, shell]
107107----
108- bin/neo4j-admin database info data/databases
108+ bin/neo4j-admin database info --from-path=../ data/databases
109109----
110110
111- Output:
112-
111+ . Output
112+ [results]
113113----
114- Database name: foo
115- Database in use: false
116- Store format version: record-aligned-1.1
117- Store format introduced in: 5.0.0
118- Last committed transaction id:2
119- Store needs recovery: true
120-
121- Database name: bar
122- Database in use: true
114+ Database name: healthcare
115+ Database in use: false
116+ Store format version: block-block-1.1
117+ Store format introduced in: 5.14.0
118+ Last committed transaction id:29
119+ Store needs recovery: false
120+
121+ Database name: neo4j
122+ Database in use: false
123+ Store format version: block-block-1.1
124+ Store format introduced in: 5.14.0
125+ Last committed transaction id:27
126+ Store needs recovery: false
127+
128+ Database name: system
129+ Database in use: false
130+ Store format version: record-aligned-1.1
131+ Store format introduced in: 5.0.0
132+ Last committed transaction id:213
133+ Store needs recovery: false
123134----
124135====
125136
@@ -133,22 +144,17 @@ When the command is invoked against several databases, if some are *online* they
133144.Invoke `neo4j-admin database info` against a database and output JSON
134145====
135146
136- If you are parsing the results of this command you may use the `--format=json` option to receive the output as JSON.
147+ If you are parsing the results of this command, you may use the `--format=json` option to receive the output as JSON.
137148All the same fields are included and all values are strings.
138149
139150[source, shell]
140151----
141- bin/neo4j-admin database info --from-path data/databases --format=json foo
152+ bin/neo4j-admin database info --from-path ../ data/databases --format=json foo
142153----
143154
144- Output:
145-
155+ . Output
156+ [results]
146157----
147- {"databaseName":"foo",
148- "inUse":"false",
149- "storeFormat”:"record-aligned-1.1",
150- "storeFormatIntroduced”:"5.0.0",
151- "lastCommittedTransaction":"2",
152- "recoveryRequired":"true"}
158+ {"databaseName":"healthcare","inUse":"false","storeFormat":"block-block-1.1","storeFormatIntroduced":"5.14.0","storeFormatSuperseded":null,"lastCommittedTransaction":"29","recoveryRequired":"false"}
153159----
154160====
0 commit comments