Bug #41432 ndb_mgm -e "all report memory" gives no output to stdout
Submitted: 12 Dec 2008 12:55 Modified: 12 Dec 2008 12:58
Reporter: Gustaf Thorslund Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:Cluster 6.3 OS:Any
Assigned to: CPU Architecture:Any

[12 Dec 2008 12:55] Gustaf Thorslund
Description:
No output is given to stdout with running:
sture% ndb_mgm -e "all report memory"
Connected to Management Server at: localhost:1186

Workaround:
sture% echo "all report memory" | ndb_mgm
-- NDB Cluster -- Management Client --
Connected to Management Server at: localhost:1186
Node 2: Data usage is 0%(20 32K pages of total 2560)
Node 2: Index usage is 0%(16 8K pages of total 2336)
Node 3: Data usage is 0%(20 32K pages of total 2560)
Node 3: Index usage is 0%(16 8K pages of total 2336)

Or:
sture% ndb_mgm
-- NDB Cluster -- Management Client --
ndb_mgm> all report memory
Connected to Management Server at: localhost:1186
Node 2: Data usage is 0%(20 32K pages of total 2560)
Node 2: Index usage is 0%(16 8K pages of total 2336)
Node 3: Data usage is 0%(20 32K pages of total 2560)
Node 3: Index usage is 0%(16 8K pages of total 2336)

How to repeat:
sture% ndb_mgm -e "all report memory"
Connected to Management Server at: localhost:1186

Notice there is no output

Suggested fix:
Make "all report memory" work with ndb_mgm -e
[12 Dec 2008 12:55] Gustaf Thorslund
Verified using 6.3.17.
[12 Dec 2008 13:09] Jon Stephens
This is actually a duplicate of Bug#31542.
[12 Dec 2008 13:15] Jon Stephens
Also verified using ndb-6.4.0.