Displaying Database Process Information
To view only the database processes, run the show database
command:
nuocmd show database --db-name <db_name> [--all-incarnations]
The show database command is issued using NuoDB Command (nuocmd ). For more information on NuoDB Command and other command line tools, see Command Line Tools.
|
For example, run the show database
command for a database called test :
nuocmd show database --db-name test
Database(default_options={ext-start: true}, default_region_id=0, incarnation=(1, 0), name=test, server_assignments={}, state=RUNNING)
test [RUNNING]
[SM] server0:48006 [StartId = 0] [ServerId = server0] MONITORED:RUNNING
[TE] server0:48006 [StartId = 1] [ServerId = server0] MONITORED:RUNNING
[SM] server1:48006 [StartId = 2] [ServerId = server1] MONITORED:RUNNING
[TE] server1:48006 [StartId = 3] [ServerId = server1] MONITORED:RUNNING
[SM] server2:48006 [StartId = 4] [ServerId = server2] MONITORED:RUNNING
[TE] server2:48006 [StartId = 5] [ServerId = server2] MONITORED:RUNNING
Or, using the --all-incarnations
option as follows:
nuocmd show database --db-name test --all-incarnations
Database(default_options={ext-start: true}, default_region_id=0, incarnation=(1, 2), name=test, server_assignments={}, state=RUNNING)
test [RUNNING]
[SM] server0:48006 [StartId = 0] [ServerId = server0] MONITORED:RUNNING
[TE] server0:48006 [StartId = 1] [ServerId = server0] MONITORED:RUNNING
[SM] server1:48006 [StartId = 2] [ServerId = server1] MONITORED:RUNNING
[SM] server2:48006 [StartId = 4] [ServerId = server2] MONITORED:RUNNING
[TE] server1:48006 (Default) [start_id = 3] [server_id = server1] [pid = 38] [node_id = 3] EXITED(MONITORED:RUNNING):(2019-03-11T17:00:33.455+0000) Engine connection to Admin Process closed (?)
[TE] server2:48006 (Default) [start_id = 5] [server_id = server2] [pid = 38] [node_id = 6] EXITED(MONITORED:RUNNING):(2019-03-11T17:00:33.453+0000) Engine connection to Admin Process closed (?)